summaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-09-09 11:23:15 -0700
committerDavid S. Miller <davem@davemloft.net>2014-09-09 21:29:33 -0700
commit9667e9bb3f366435dde74f22578876daae850feb (patch)
treec9e667e8d5127f6d95e852c1feb8501c4131bc99 /net/ipv4/af_inet.c
parent03d56daafe9d4e04a8a0d305789cd3eda250746b (diff)
downloadlinux-9667e9bb3f366435dde74f22578876daae850feb.tar.gz
linux-9667e9bb3f366435dde74f22578876daae850feb.tar.bz2
linux-9667e9bb3f366435dde74f22578876daae850feb.zip
ipip: Add gro callbacks to ipip offload
Add inet_gro_receive and inet_gro_complete to ipip_offload to support GRO. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index b537bd94906c..72011cc4c13b 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1666,6 +1666,8 @@ static const struct net_offload ipip_offload = {
.callbacks = {
.gso_send_check = inet_gso_send_check,
.gso_segment = inet_gso_segment,
+ .gro_receive = inet_gro_receive,
+ .gro_complete = inet_gro_complete,
},
};