summaryrefslogtreecommitdiff
path: root/include/net/ipv6.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-06-05 01:41:10 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-14 13:05:52 (GMT)
commit599a4478d8cb7ad19bd946c878d59860c5df7875 (patch)
treebedd7ea3f58d8314025db1d675f867a8dc64bb2b /include/net/ipv6.h
parentc242e1a8140e56ff0f673ff82c4c5db3df7d4d4a (diff)
downloadlinux-599a4478d8cb7ad19bd946c878d59860c5df7875.tar.xz
ipv6: Fix leak in ipv6_gso_segment().
[ Upstream commit e3e86b5119f81e5e2499bea7ea1ebe8ac6aab789 ] If ip6_find_1stfragopt() fails and we return an error we have to free up 'segs' because nobody else is going to. Fixes: 2423496af35d ("ipv6: Prevent overrun when parsing v6 header options") Reported-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/ipv6.h')
0 files changed, 0 insertions, 0 deletions