Skip to content

Commit 7e3b6e7

Browse files
Eric Dumazetdavem330
authored andcommitted
ipv6: gre: support SIT encapsulation
gre_gso_segment() chokes if SIT frames were aggregated by GRO engine. Fixes: 61c1db7 ("ipv6: sit: add GSO/TSO support") Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3242c9e commit 7e3b6e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/ipv4/gre_offload.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ static struct sk_buff *gre_gso_segment(struct sk_buff *skb,
3636
SKB_GSO_TCP_ECN |
3737
SKB_GSO_GRE |
3838
SKB_GSO_GRE_CSUM |
39-
SKB_GSO_IPIP)))
39+
SKB_GSO_IPIP |
40+
SKB_GSO_SIT)))
4041
goto out;
4142

4243
if (!skb->encapsulation)

0 commit comments

Comments
 (0)