diff options
author | Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> | 2014-03-02 17:30:26 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-03 15:43:47 -0500 |
commit | a135e598c463baf9497b84e1e92f9a8f96d3521c (patch) | |
tree | 4debda792d5839b458ad562553616ce73b9f860f /net/ipv4/proc.c | |
parent | 677676cd584033a47974c3634c6c9235e14db1a4 (diff) | |
download | linux-a135e598c463baf9497b84e1e92f9a8f96d3521c.tar.bz2 |
sch_tbf: Remove holes in struct tbf_sched_data.
On x86_64 we have 3 holes in struct tbf_sched_data.
The member peak_present can be replaced with peak.rate_bytes_ps,
because peak.rate_bytes_ps is set only when peak is specified in
tbf_change(). tbf_peak_present() is introduced to test
peak.rate_bytes_ps.
The member max_size is moved to fill 32bit hole.
Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/proc.c')
0 files changed, 0 insertions, 0 deletions