Re: [PATCH net] sctp: call gso_reset_checksum when computing checksum in sctp_gso_segment

2019-02-13 Thread David Miller
From: Xin Long Date: Tue, 12 Feb 2019 18:47:30 +0800 > Jianlin reported a panic when running sctp gso over gre over vlan device: ... > It was caused by SKB_GSO_CB(skb)->csum_start not set in sctp_gso_segment. > sctp_gso_segment() calls skb_segment() with 'feature | NETIF_F_HW_CSUM', > which

Re: [PATCH net] sctp: call gso_reset_checksum when computing checksum in sctp_gso_segment

2019-02-12 Thread Marcelo Ricardo Leitner
On Tue, Feb 12, 2019 at 06:47:30PM +0800, Xin Long wrote: > Jianlin reported a panic when running sctp gso over gre over vlan device: > > [ 84.772930] RIP: 0010:do_csum+0x6d/0x170 > [ 84.790605] Call Trace: > [ 84.791054] csum_partial+0xd/0x20 > [ 84.791657]

Re: [PATCH net] sctp: call gso_reset_checksum when computing checksum in sctp_gso_segment

2019-02-12 Thread Neil Horman
On Tue, Feb 12, 2019 at 06:47:30PM +0800, Xin Long wrote: > Jianlin reported a panic when running sctp gso over gre over vlan device: > > [ 84.772930] RIP: 0010:do_csum+0x6d/0x170 > [ 84.790605] Call Trace: > [ 84.791054] csum_partial+0xd/0x20 > [ 84.791657]

[PATCH net] sctp: call gso_reset_checksum when computing checksum in sctp_gso_segment

2019-02-12 Thread Xin Long
Jianlin reported a panic when running sctp gso over gre over vlan device: [ 84.772930] RIP: 0010:do_csum+0x6d/0x170 [ 84.790605] Call Trace: [ 84.791054] csum_partial+0xd/0x20 [ 84.791657] gre_gso_segment+0x2c3/0x390 [ 84.792364] inet_gso_segment+0x161/0x3e0 [