[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110824.175054.2217340464184681338.davem@davemloft.net>
Date: Wed, 24 Aug 2011 17:50:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, herbert@...dor.hengli.com.au,
shemminger@...tta.com
Subject: Re: [PATCH] bridge: fix a possible use after free
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 24 Aug 2011 07:57:05 +0200
> br_multicast_ipv6_rcv() can call pskb_trim_rcsum() and therefore skb
> head can be reallocated.
>
> Cache icmp6_type field instead of dereferencing twice the struct
> icmp6hdr pointer.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
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