diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-06-08 00:19:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-21 15:38:58 +0200 |
commit | edeab0e105b05f5cae244e018d2b6cd5d2d57baf (patch) | |
tree | 8075491ddbdcb9bbd95f74898d7f92648703156b /scripts/gcc-plugins | |
parent | 58befcf7da6c81a1692bbdee146b29678f278255 (diff) |
netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM
[ Upstream commit a1a64a151dae8ac3581c1cbde44b672045cb658b ]
If caller reports ENOMEM, then stop iterating over the batch and send a
single netlink message to userspace to report OOM.
Fixes: cbb8125eb40b ("netfilter: nfnetlink: deliver netlink errors on batch completion")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions