aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-02-02 23:56:00 +0100
committerPatrick McHardy <kaber@trash.net>2011-02-02 23:56:00 +0100
commit5f52bc3cdd1bb2e12e61639df19d9dcd530c4568 (patch)
treeb4a24cd688e4e87084975d3d6cd338fefe3581b2 /include/linux
parentnetfilter: ipset: fix linking with CONFIG_IPV6=n (diff)
downloadlinux-dev-5f52bc3cdd1bb2e12e61639df19d9dcd530c4568.tar.xz
linux-dev-5f52bc3cdd1bb2e12e61639df19d9dcd530c4568.zip
netfilter: ipset: send error message manually
When a message carries multiple commands and one of them triggers an error, we have to report to the userspace which one was that. The line number of the command plays this role and there's an attribute reserved in the header part of the message to be filled out with the error line number. In order not to modify the original message received from the userspace, we construct a new, complete netlink error message and modifies the attribute there, then send it. Netlink is notified not to send its ACK/error message. Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions