Re: [PATCH net V3 2/2] net: fix tcp reset packet flowlabel for ipv6

2017-07-31 Thread David Miller
From: Shaohua Li Date: Mon, 31 Jul 2017 12:30:27 -0700 > On Mon, Jul 31, 2017 at 11:10:38AM -0700, Cong Wang wrote: >> On Mon, Jul 31, 2017 at 10:08 AM, Shaohua Li wrote: >> > +/* Like ip6_make_flowlabel, but already has hash */ >> > +static inline __be32

Re: [PATCH net V3 2/2] net: fix tcp reset packet flowlabel for ipv6

2017-07-31 Thread Shaohua Li
On Mon, Jul 31, 2017 at 11:10:38AM -0700, Cong Wang wrote: > On Mon, Jul 31, 2017 at 10:08 AM, Shaohua Li wrote: > > +/* Like ip6_make_flowlabel, but already has hash */ > > +static inline __be32 ip6_make_flowlabel_from_hash(struct net *net, > > +

Re: [PATCH net V3 2/2] net: fix tcp reset packet flowlabel for ipv6

2017-07-31 Thread Cong Wang
On Mon, Jul 31, 2017 at 10:08 AM, Shaohua Li wrote: > +/* Like ip6_make_flowlabel, but already has hash */ > +static inline __be32 ip6_make_flowlabel_from_hash(struct net *net, > + bool autolabel, u32 hash) > +{ > + __be32

[PATCH net V3 2/2] net: fix tcp reset packet flowlabel for ipv6

2017-07-31 Thread Shaohua Li
From: Shaohua Li Please see below tcpdump output: 21:00:48.109122 IP6 (flowlabel 0x43304, hlim 64, next-header TCP (6) payload length: 40) fec0::5054:ff:fe12:3456.55804 > fec0::5054:ff:fe12:3456.: Flags [S], cksum 0x0529 (incorrect -> 0xf56c), seq 3282214508, win 43690,