summaryrefslogtreecommitdiff
path: root/net/atm/ipcommon.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-12-01 03:54:05 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 05:32:07 (GMT)
commit1e9b3d5339d2afd6348e8211f0db695b00261e17 (patch)
tree0dd54ad172b0bfb2e905168913a199cab69e9ab1 /net/atm/ipcommon.c
parent5f68e4c07c7b97a5b06f0b5e313528d36415a60d (diff)
downloadlinux-fsl-qoriq-1e9b3d5339d2afd6348e8211f0db695b00261e17.tar.xz
[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>
Diffstat (limited to 'net/atm/ipcommon.c')
0 files changed, 0 insertions, 0 deletions