diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-05-17 15:43:08 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-05-29 02:04:53 +0300 |
commit | e0241ae6ac59ffa318255640c047f7c90457fbe5 (patch) | |
tree | 9890948665521743f4285208149bd828ce7c0c0b /net/ipv6 | |
parent | 02d85142670b6676abcfd95023c8d28288dc5ad9 (diff) | |
download | linux-e0241ae6ac59ffa318255640c047f7c90457fbe5.tar.xz |
netfilter: use nfnetlink_unicast()
Replace netlink_unicast() calls by nfnetlink_unicast() which already
deals with translating EAGAIN to ENOBUFS as the nfnetlink core expects.
nfnetlink_unicast() calls nlmsg_unicast() which returns zero in case of
success, otherwise the netlink core function netlink_rcv_skb() turns
err > 0 into an acknowlegment.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions