Re: [PATCH net-next 03/15] udp: do checksum properly in skb_udp_tunnel_segment

2020-10-03 Thread Xin Long
On Sat, Oct 3, 2020 at 12:04 PM Marcelo Ricardo Leitner wrote: > > On Tue, Sep 29, 2020 at 09:48:55PM +0800, Xin Long wrote: > > This patch fixes two things: > > > > When skb->ip_summed == CHECKSUM_PARTIAL, skb_checksum_help() should be > > called do the checksum, instead of gso_make_checksum(

Re: [PATCH net-next 03/15] udp: do checksum properly in skb_udp_tunnel_segment

2020-10-02 Thread Marcelo Ricardo Leitner
On Tue, Sep 29, 2020 at 09:48:55PM +0800, Xin Long wrote: > This patch fixes two things: > > When skb->ip_summed == CHECKSUM_PARTIAL, skb_checksum_help() should be > called do the checksum, instead of gso_make_checksum(), which is used > to do the checksum for current proto after calling skb

[PATCH net-next 03/15] udp: do checksum properly in skb_udp_tunnel_segment

2020-09-29 Thread Xin Long
This patch fixes two things: When skb->ip_summed == CHECKSUM_PARTIAL, skb_checksum_help() should be called do the checksum, instead of gso_make_checksum(), which is used to do the checksum for current proto after calling skb_segment(), not after the inner proto's gso_segment(). When off