Roy Li 8603e33d01 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>
2011-09-20 15:10:16 -04:00
..
2011-09-20 15:10:16 -04:00
2010-09-23 14:33:39 -07:00
2011-04-22 11:04:14 -07:00
2011-07-26 16:49:47 -07:00
2010-05-11 14:40:55 +02:00
2011-04-22 11:04:14 -07:00
2011-05-19 16:21:22 -04:00
2010-10-25 13:09:45 -07:00