projects
/
linux-2.6-microblaze.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
|
history
diff --git
a/net/l2tp/l2tp_core.c
b/net/l2tp/l2tp_core.c
index
1109d3b
..
797c0af
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: