Skip to content
Commit a1a64a15 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso
Browse files

netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM

If caller reports ENOMEM, then stop iterating over the batch and send a
single netlink message to userspace to report OOM.

Fixes: cbb8125e

 ("netfilter: nfnetlink: deliver netlink errors on batch completion")
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 212ed75d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment