[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120922.153545.528940879379972527.davem@davemloft.net>
Date: Sat, 22 Sep 2012 15:35:45 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: raw: fix icmp_filter()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sat, 22 Sep 2012 12:08:29 +0200
> From: Eric Dumazet <edumazet@...gle.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@...gle.com>
Applied and queued up for -stable, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists