Searched hist:"8603 e33d01cb6bd32de46b2596fe47f0c4df6c12" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ipv6/ |
H A D | addrconf.c | diff 8603e33d01cb6bd32de46b2596fe47f0c4df6c12 Tue Sep 20 14:10:16 CDT 2011 Roy Li <rongqing.li@windriver.com> ipv6: fix a possible double free
When calling snmp6_alloc_dev fails, the snmp6 relevant memory are freed by snmp6_alloc_dev. Calling in6_dev_finish_destroy will free these memory twice.
Double free will lead that undefined behavior occurs.
Signed-off-by: Roy Li <rongqing.li@windriver.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|