]> git.baikalelectronics.ru Git - kernel.git/commitdiff
sit: Add gro callbacks to sit_offload
authorTom Herbert <therbert@google.com>
Tue, 9 Sep 2014 18:23:16 +0000 (11:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 04:29:33 +0000 (21:29 -0700)
Add ipv6_gro_receive and ipv6_gro_complete to sit_offload to
support GRO.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_offload.c

index 929bbbcd0c8e5e94b89a850f4cc4cfeaac429c74..9952f3fce30a3257f9ea706d76d1ab83febe8c26 100644 (file)
@@ -317,6 +317,8 @@ static const struct net_offload sit_offload = {
        .callbacks = {
                .gso_send_check = ipv6_gso_send_check,
                .gso_segment    = ipv6_gso_segment,
+               .gro_receive    = ipv6_gro_receive,
+               .gro_complete   = ipv6_gro_complete,
        },
 };