mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
wireguard: queueing: do not account for pfmemalloc when clearing skb header
Before8b7008620b("net: Don't copy pfmemalloc flag in __copy_skb_ header()"), the pfmemalloc flag used to be between headers_start and headers_end, which is a region we clear when preparing the packet for encryption/decryption. This is a parameter we certainly want to preserve, which is why8b7008620bmoved it out of there. The code here was written in a world before8b7008620b, though, where we had to manually account for it. This commit brings things up to speed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9a69a4c880
commit
04d2ea92a1
1 changed files with 0 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue