projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d75f130
)
net: enable LCO for udp_tunnel_handle_offloads() users
author
Edward Cree
<
[email protected]
>
Thu, 11 Feb 2016 20:50:44 +0000
(20:50 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 12 Feb 2016 10:52:15 +0000
(
05:52
-0500)
The only protocol affected at present is Geneve.
Signed-off-by: Edward Cree <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
include/net/udp_tunnel.h
patch
|
blob
|
history
diff --git
a/include/net/udp_tunnel.h
b/include/net/udp_tunnel.h
index cca2ad3082c37aaa9250f7f79ac105e1dcf1f754..734c15662ea957018399d723af9ad3619f54186c 100644
(file)
--- a/
include/net/udp_tunnel.h
+++ b/
include/net/udp_tunnel.h
@@
-103,7
+103,8
@@
static inline struct sk_buff *udp_tunnel_handle_offloads(struct sk_buff *skb,
{
int type = udp_csum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL;
- return iptunnel_handle_offloads(skb, udp_csum, type);
+ /* As we're a UDP tunnel, we support LCO, so don't need csum_help */
+ return iptunnel_handle_offloads(skb, false, type);
}
static inline void udp_tunnel_gro_complete(struct sk_buff *skb, int nhoff)