mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
netfilter: nft_exthdr: Fix non-linear header modification
commit28427f368fupstream. Fix skb_ensure_writable() size. Don't use nft_tcp_header_pointer() to make it explicit that pointers point to the packet (not local buffer). Fixes:99d1712bc4("netfilter: exthdr: tcp option set support") Fixes:7890cbea66("netfilter: exthdr: add support for tcp option removal") Cc: stable@vger.kernel.org Signed-off-by: Xiao Liang <shaw.leon@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7ca0706c68
commit
bcdb4a5c42
1 changed files with 8 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue