Re: [RFT Patch net 2/2] ipv6: add a socket release callback for datagram sockets
On Thu, Mar 24, 2016 at 12:25 PM, Cong Wang wrote: > + dst = ip6_dst_lookup_flow(sk, &fl6, final_p); > + dst = !IS_ERR(rt) ? &rt->dst : NULL; Oops, this one is clearly a copy-n-paste mistake...
[RFT Patch net 2/2] ipv6: add a socket release callback for datagram sockets
Similar to commit 8141ed9fcedb, this implements a socket release callback function to check if an IPv6 socket cached route got invalid during the time we owned the socket. The function is used from udp, raw sockets. Cc: Steffen Klassert Cc: Martin KaFai Lau Cc: Hannes Frederic Sowa Cc: Steffen