projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udp: call udp_encap_enable for v6 sockets when enabling encap
[linux-2.6-microblaze.git]
/
include
/
net
/
udp_tunnel.h
diff --git
a/include/net/udp_tunnel.h
b/include/net/udp_tunnel.h
index
282d10e
..
afc7ce7
100644
(file)
--- a/
include/net/udp_tunnel.h
+++ b/
include/net/udp_tunnel.h
@@
-181,9
+181,8
@@
static inline void udp_tunnel_encap_enable(struct socket *sock)
#if IS_ENABLED(CONFIG_IPV6)
if (sock->sk->sk_family == PF_INET6)
ipv6_stub->udpv6_encap_enable();
- else
#endif
-
udp_encap_enable();
+ udp_encap_enable();
}
#define UDP_TUNNEL_NIC_MAX_TABLES 4