]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ipip: Add gro callbacks to ipip offload
authorTom Herbert <therbert@google.com>
Tue, 9 Sep 2014 18:23:15 +0000 (11:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 04:29:33 +0000 (21:29 -0700)
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>
net/ipv4/af_inet.c

index b537bd94906c3b61285e00a4a31ce06cf611e56f..72011cc4c13bb1301e193a65386dafb608f5c78d 100644 (file)
@@ -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,
        },
 };