summaryrefslogtreecommitdiffstats
path: root/kernel/ip_set_getport.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-02-02 20:43:18 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-02-02 20:43:18 +0100
commita7586eb0a0eed3554a104ace4fda912c3ab087ab (patch)
tree286c152f326f0ea59c0307e00b425173e8b2f1d5 /kernel/ip_set_getport.c
parent85cee26417bb1456575028fdfe343b3db777a5c9 (diff)
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.
Diffstat (limited to 'kernel/ip_set_getport.c')
0 files changed, 0 insertions, 0 deletions