Skip to content

netfilter: nf_log: nlmsg size fixes

Florian Westphal netfilter-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3netfilter: nf_log: account for size of NLMSG_DONE attributenet/netfilter/nfnetlink_log.c+3 -32 replies
2/3netfilter: nfnetlink_log: fix maximum packet length logged to userspacenet/netfilter/nfnetlink_log.c+5 -31 reply
3/3netfilter: nf_log: release skbuff on nlmsg put failurenet/netfilter/nfnetlink_log.c+8 -91 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] netfilter: nf_log: nlmsg size fixes

The following three patches attempt to cure the reported nlmsg skb trailroom exhaustion bug.

First two patches add missing size accounting, third patch relaxes the impact of out-of-tailroom by tossing the skb and giving a WARN_ONCE trace with size information, so we can investigate further if needed.

Florian Westphal (2):
netfilter: nf_log: account for size of NLMSG_DONE attribute in skb size
netfilter: nfnetlink_log: fix maximum packet length logged to userspace

Houcheng Lin (1):
netfilter: nf_log: release skbuff on nlmsg put failure

 net/netfilter/nfnetlink_log.c | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)