diff options
author | Eric Dumazet <edumazet@google.com> | 2018-01-10 12:45:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-10 22:01:25 +0100 |
commit | 862c03ee1deb7e19e0f9931682e0294ecd1fcaf9 (patch) | |
tree | e720e5abc25b35104208ba568cac3bf03b7d82d6 /net/atm | |
parent | Merge branch 'mlxsw-couple-of-fixes' (diff) | |
download | linux-862c03ee1deb7e19e0f9931682e0294ecd1fcaf9.tar.xz linux-862c03ee1deb7e19e0f9931682e0294ecd1fcaf9.zip |
ipv6: fix possible mem leaks in ipv6_make_skb()
ip6_setup_cork() might return an error, while memory allocations have
been done and must be rolled back.
Fixes: 6422398c2ab0 ("ipv6: introduce ipv6_make_skb")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Vlad Yasevich <vyasevich@gmail.com>
Reported-by: Mike Maloney <maloney@google.com>
Acked-by: Mike Maloney <maloney@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions