From: "Varghese, Martin (Nokia - IN/Bangalore)" <redacted>
Date: Tue, 10 Mar 2020 01:03:49 +0000
HI Taehee Yoo & David,
The commit "2baecda bareudp: remove unnecessary udp_encap_enable() in bareudp_socket_create()" breaks the receive handler of bareudp device.
setup_udp_tunnel_sock does not call udp_encap_enable() if the socket is ipv6. In bareudp v6 socket is used to receive v4 traffic also.
Please let me know if I need to submit a patch again to put back the below lines
if (sock->sk->sk_family == AF_INET6)
udp_encap_enable();
So submit a fix.