mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
ipv6: gre: support SIT encapsulation
gre_gso_segment() chokes if SIT frames were aggregated by GRO engine.
Fixes: 61c1db7fae
("ipv6: sit: add GSO/TSO support")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3242c9ee0b
commit
7e3b6e7423
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ static struct sk_buff *gre_gso_segment(struct sk_buff *skb,
|
||||||
SKB_GSO_TCP_ECN |
|
SKB_GSO_TCP_ECN |
|
||||||
SKB_GSO_GRE |
|
SKB_GSO_GRE |
|
||||||
SKB_GSO_GRE_CSUM |
|
SKB_GSO_GRE_CSUM |
|
||||||
SKB_GSO_IPIP)))
|
SKB_GSO_IPIP |
|
||||||
|
SKB_GSO_SIT)))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (!skb->encapsulation)
|
if (!skb->encapsulation)
|
||||||
|
|
Loading…
Reference in a new issue