aboutsummaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-12-04 12:46:48 +0100
committerAdrian Bunk <bunk@stusta.de>2006-12-04 12:46:48 +0100
commitb00b3fe3f00962fc9faa7d34c28f5a20074c728b (patch)
treefac4efb9b8928c150f5048d7ed18355d0459a668 /net/bridge
parente6e129777f0fb6619e6a845cfd7a87b7fcd736a0 (diff)
[NET_SCHED]: policer: restore compatibility with old iproute binaries
The tc actions increased the size of struct tc_police, which broke compatibility with old iproute binaries since both the act_police and the old NET_CLS_POLICE code check for an exact size match. Since the new members are not even used, the simple fix is to also accept the size of the old structure. Dumping is not affected since old userspace will receive a bigger structure, which is handled fine. Signed-off-by: Patrick McHardy <kaber@trash.net> Acked-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions