• Pablo Neira Ayuso's avatar
    netfilter: use nfnetlink_unicast() · e0241ae6
    Pablo Neira Ayuso authored
    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>
    e0241ae6
nfnetlink_cthelper.c 18.9 KB