diff options
| author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-07-08 19:53:18 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:51:01 +0100 |
| commit | eb6e02ed98e8981e20e68c09c7b94439f5571d6b (patch) | |
| tree | b00fd8bda898fe043c83fac8a31dea3fb20a280f /include/linux/of.h | |
| parent | f9153eed0feb756d72f8749fc55ce44543a7b81d (diff) | |
net/tls: fix socket wmem accounting on fallback with netem
[ Upstream commit 5c4b4608fe100838c62591877101128467e56c00 ]
netem runs skb_orphan_partial() which "disconnects" the skb
from normal TCP write memory accounting. We should not adjust
sk->sk_wmem_alloc on the fallback path for such skbs.
Fixes: e8f69799810c ("net/tls: Add generic NIC offload infrastructure")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/of.h')
0 files changed, 0 insertions, 0 deletions
