projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
884d338
)
vxlan: Enable checksum unnecessary conversions for vxlan/UDP sockets
author
Tom Herbert
<therbert@google.com>
Sun, 31 Aug 2014 22:12:45 +0000
(15:12 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 2 Sep 2014 04:36:28 +0000
(21:36 -0700)
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/vxlan.c
b/drivers/net/vxlan.c
index 67527f3d3be2ad8e1984f434ea7b375765724435..53c3ec19807cfd4b880c9bc7f4348847dd8c38c1 100644
(file)
--- a/
drivers/net/vxlan.c
+++ b/
drivers/net/vxlan.c
@@
-2370,6
+2370,8
@@
static struct socket *vxlan_create_sock(struct net *net, bool ipv6,
/* Disable multicast loopback */
inet_sk(sock->sk)->mc_loop = 0;
+ udp_set_convert_csum(sock->sk, true);
+
return sock;
}