diff options
| author | Eric Dumazet <[email protected]> | 2013-05-17 04:53:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-05-18 19:55:45 +0000 |
| commit | 284041ef21fdf2e0d216ab6b787bc9072b4eb58a (patch) | |
| tree | 23276228ebc99aa9b1321194015b6a22a337c632 /tools/perf/scripts/python/netdev-times.py | |
| parent | vxlan: Update vxlan fdb 'used' field after each usage (diff) | |
| download | kernel-284041ef21fdf2e0d216ab6b787bc9072b4eb58a.tar.gz kernel-284041ef21fdf2e0d216ab6b787bc9072b4eb58a.zip | |
ipv6: fix possible crashes in ip6_cork_release()
commit 0178b695fd6b4 ("ipv6: Copy cork options in ip6_append_data")
added some code duplication and bad error recovery, leading to potential
crash in ip6_cork_release() as kfree() could be called with garbage.
use kzalloc() to make sure this wont happen.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Hideaki YOSHIFUJI <[email protected]>
Cc: Neal Cardwell <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
