diff options
author | Roy Li <[email protected]> | 2011-09-20 15:10:16 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-09-20 15:10:16 -0400 |
commit | 8603e33d01cb6bd32de46b2596fe47f0c4df6c12 (patch) | |
tree | 38460cb5479a4df4d3c09626998c0294767583b7 /net/lapb/lapb_timer.c | |
parent | fe7d189d4a2ccbb3590b1da97a3f6a83fc2efd80 (diff) |
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 <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions