Thread (2 messages) flat view 2 messages, 2 authors, 2012-09-22

Re: [PATCH] ipv4: raw: fix icmp_filter()

From: David Miller <davem@davemloft.net>
Date: 2012-09-22 19:35:46

From: Eric Dumazet <redacted>
Date: Sat, 22 Sep 2012 12:08:29 +0200
From: Eric Dumazet <edumazet@google.com>

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>
Applied and queued up for -stable, thanks Eric.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help