ipv6_ac_list and ipv6_fl_list from listening socket are
inadvertently
shared with new socket created for connection.
Signed-off-by: Zheng Yan zheng.z.yan@intel.com
—
diff –git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 3c9fa61..79cc646 100644
— a/net/ipv6/tcp_ipv6.c
**+ b/net/ipv6/tcp_ipv6.c
@ -1383,6 +1383,8
@ static struct sock *
tcp_v6_syn_recv_sock(struct
sock *sk, struct sk_buff *skb,
newtp->af_specific =
&tcp_sock_ipv6_mapped_specific;
#endif
@ -1447,6 +1449,7
@ static struct sock *
tcp_v6_syn_recv_sock(struct/* Clone RX bits */
commit 8a04b45367c7943f8f7f30257d42e2106ab7a0bf
Merge: a8062e4 805e969
Author: Linus Torvalds torvalds@linux-foundation.org
Date: Tue Oct 4 10:37:06 2011 -0700
Merge git://github.com/davem330/net
* git://github.com/davem330/net:
pch_gbe: Fixed the issue on which a network freezes
pch_gbe: Fixed the issue on which PC was frozen when link was downed.
make PACKET_STATISTICS getsockopt report consistently between ring and
non-ring
net: xen-netback: correctly restart Tx after a VM restore/migrate
bonding: properly stop queuing work when requested
can bcm: fix incomplete tx_setup fix
RDSRDMA: Fix cleanup of rds_iw_mr_pool
net: Documentation: Fix type of variables
ibmveth: Fix oops on request_irq failure
ipv6: nullify ipv6_ac_list and ipv6_fl_list when creating new
socket
cxgb4: Fix EEH on IBM P7IOC