From: Eric Dumazet Date: Sat, 22 Sep 2012 00:08:29 +0000 (+0000) Subject: ipv4: raw: fix icmp_filter() X-Git-Tag: v3.6~22^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab43ed8b7490cb387782423ecf74aeee7237e591;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed