summaryrefslogtreecommitdiff
path: root/net/netfilter/ipset
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-12-05 16:12:19 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2018-12-07 12:54:23 +0300
commit530aad77010b81526586dfc09130ec875cd084e4 (patch)
treeb5c4a153bc83e2743efd284e02b0e024aa5a51c7 /net/netfilter/ipset
parent4c05ec47384ab3627b62814e8f886e90cc38ce15 (diff)
downloadlinux-530aad77010b81526586dfc09130ec875cd084e4.tar.xz
netfilter: seqadj: re-load tcp header pointer after possible head reallocation
When adjusting sack block sequence numbers, skb_make_writable() gets called to make sure tcp options are all in the linear area, and buffer is not shared. This can cause tcp header pointer to get reallocated, so we must reaload it to avoid memory corruption. This bug pre-dates git history. Reported-by: Neel Mehta <nmehta@google.com> Reported-by: Shane Huntley <shuntley@google.com> Reported-by: Heather Adkins <argv@google.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/ipset')
0 files changed, 0 insertions, 0 deletions