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

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: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 02d85142
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