udp: fix possible user after free in error handler
Similar to the previous commit, this addresses the same issue for ipv4: use a single fetch operation and use the correct rcu annotation. Fixes: e7cc0824 ("udp: Support for error handlers of tunnels with arbitrary destination port") Signed-off-by:Paolo Abeni <pabeni@redhat.com> Acked-by:
Stefano Brivio <sbrivio@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
424a7cd0
Please register or sign in to comment