Skip to content

Essential Products - PH-1 9.0 - Developer preview

Compare
Choose a tag to compare
@jb-essential jb-essential released this 21 May 05:31
· 7676 commits to android-4.4.y since this release
netfilter: nfnetlink: use original skbuff when acking batches

Since bd678e09dc17 ("netfilter: nfnetlink: fix splat due to incorrect
socket memory accounting in skbuff clones"), we don't manually attach
the sk to the skbuff clone anymore, so we have to use the original
skbuff from netlink_ack() which needs to access the sk pointer.

Change-Id: I4ae7e9c52d9a10f8c88dbd179506bae94d5080e4
Fixes: bd678e09dc17 ("netfilter: nfnetlink: fix splat due to incorrect socket memory accounting in skbuff clones")
Reported-by: Dmitry Vyukov <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>