summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/soft-interface.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-09-22 02:08:29 +0200
committerDavid S. Miller <davem@davemloft.net>2012-09-22 21:35:05 +0200
commitab43ed8b7490cb387782423ecf74aeee7237e591 (patch)
tree5c2083ad85142b2385669ba9fc01061de24debc8 /net/batman-adv/soft-interface.h
parentnet/phy/bcm87xx: Add MODULE_LICENSE("GPL") to GPL driver (diff)
downloadlinux-ab43ed8b7490cb387782423ecf74aeee7237e591.tar.xz
linux-ab43ed8b7490cb387782423ecf74aeee7237e591.zip
ipv4: raw: fix icmp_filter()
icmp_filter() should not modify its input, or else its caller would need to recompute ip_hdr() if skb->head is reallocated. Use skb_header_pointer() instead of pskb_may_pull() and change the prototype to make clear both sk and skb are const. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/soft-interface.h')
0 files changed, 0 insertions, 0 deletions