Commit 53a5b4f2 authored by Steffen Klassert's avatar Steffen Klassert
Browse files

xfrm Fix use after free in __xfrm6_udp_encap_rcv.

A recent patch changed xfrm6_udp_encap_rcv to not
free the skb itself anymore but fogot the case
where xfrm4_udp_encap_rcv is called subsequently.

Fix this by moving the call to xfrm4_udp_encap_rcv
from __xfrm6_udp_encap_rcv to xfrm6_udp_encap_rcv.

Fixes: 221ddb72

 ("xfrm: Support GRO for IPv6 ESP in UDP encapsulation")
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent efedce33
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment