summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00lib.h
diff options
context:
space:
mode:
authorBandan Das <bandan.das@stratus.com>2010-09-19 11:34:33 +0200
committerDavid S. Miller <davem@davemloft.net>2010-09-19 21:42:34 +0200
commit462fb2af9788a82a534f8184abfde31574e1cfa0 (patch)
tree63a8abf3657bb4ce586fdf14c89e6d81ca280725 /drivers/net/wireless/rt2x00/rt2x00lib.h
parentrds: spin_lock_irq() is not nestable (diff)
downloadlinux-462fb2af9788a82a534f8184abfde31574e1cfa0.tar.xz
linux-462fb2af9788a82a534f8184abfde31574e1cfa0.zip
bridge : Sanitize skb before it enters the IP stack
Related dicussion here : http://lkml.org/lkml/2010/9/3/16 Introduce a function br_parse_ip_options that will audit the skb and possibly refill IP options before a packet enters the IP stack. If no options are present, the function will zero out the skb cb area so that it is not misinterpreted as options by some unsuspecting IP layer routine. If packet consistency fails, drop it. Signed-off-by: Bandan Das <bandan.das@stratus.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00lib.h')
0 files changed, 0 insertions, 0 deletions