projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c60c308
)
l2tp: Enable checksum unnecessary conversions for l2tp/UDP sockets
author
Tom Herbert
<therbert@google.com>
Sun, 31 Aug 2014 22:12:46 +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>
net/l2tp/l2tp_core.c
patch
|
blob
|
blame
|
history
diff --git
a/net/l2tp/l2tp_core.c
b/net/l2tp/l2tp_core.c
index 1109d3bb8dac8d4142eb6bdd159915b2f978ea45..797c0af71c0680382e2d13323b10a6a9bb454f9e 100644
(file)
--- a/
net/l2tp/l2tp_core.c
+++ b/
net/l2tp/l2tp_core.c
@@
-1392,6
+1392,8
@@
static int l2tp_tunnel_sock_create(struct net *net,
if (err < 0)
goto out;
+ udp_set_convert_csum(sock->sk, true);
+
break;
case L2TP_ENCAPTYPE_IP: