aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/enh_desc.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-11-21 10:08:37 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-21 13:13:56 -0500
commit7082c5c3f2407c52022507ffaf644dbbab97a883 (patch)
tree11b22cf7efa89d4ee5f657f451616340bd290a31 /drivers/net/ethernet/stmicro/stmmac/enh_desc.c
parentnet: l2tp: Treat NET_XMIT_CN as success in l2tp_eth_dev_xmit (diff)
downloadlinux-dev-7082c5c3f2407c52022507ffaf644dbbab97a883.tar.xz
linux-dev-7082c5c3f2407c52022507ffaf644dbbab97a883.zip
tcp: zero ca_priv area when switching cc algorithms
We need to zero out the private data area when application switches connection to different algorithm (TCP_CONGESTION setsockopt). When congestion ops get assigned at connect time everything is already zeroed because sk_alloc uses GFP_ZERO flag. But in the setsockopt case this contains whatever previous cc placed there. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/enh_desc.c')
0 files changed, 0 insertions, 0 deletions