Re: [PATCH net] tcp: do not use ipv6 header for ipv4 flow

2019-03-19 Thread David Miller
From: Eric Dumazet Date: Tue, 19 Mar 2019 05:45:35 -0700 > When a dual stack tcp listener accepts an ipv4 flow, > it should not attempt to use an ipv6 header or tcp_v6_iif() helper. > > Fixes: 1397ed35f22d ("ipv6: add flowinfo for tcp6 pkt_options for all cases") > Fixes: df3687ffc665 ("ipv6: ad

[PATCH net] tcp: do not use ipv6 header for ipv4 flow

2019-03-19 Thread Eric Dumazet
When a dual stack tcp listener accepts an ipv4 flow, it should not attempt to use an ipv6 header or tcp_v6_iif() helper. Fixes: 1397ed35f22d ("ipv6: add flowinfo for tcp6 pkt_options for all cases") Fixes: df3687ffc665 ("ipv6: add the IPV6_FL_F_REFLECT flag to IPV6_FL_A_GET") Fixes: 1da177e4c3f4 (