diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-07-09 04:53:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-09 05:21:10 +0200 |
commit | 5c4b4608fe100838c62591877101128467e56c00 (patch) | |
tree | 8690bd0fe8a0e62fc8610face1254683ee6c31a1 /crypto/aegis.h | |
parent | nfp: tls: undo TLS sequence tracking when dropping the frame (diff) | |
download | linux-5c4b4608fe100838c62591877101128467e56c00.tar.xz linux-5c4b4608fe100838c62591877101128467e56c00.zip |
net/tls: fix socket wmem accounting on fallback with netem
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>
Diffstat (limited to 'crypto/aegis.h')
0 files changed, 0 insertions, 0 deletions