]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/netfilter/nfnetlink.c
Merge branch 'fixes-for-arm-soc' of git://sources.calxeda.com/kernel/linux into fixes
[karo-tx-linux.git] / net / netfilter / nfnetlink.c
index b4f8d849480cfb9a6cffa57063a54b5152dfce75..4d70785b953daad4c1bc7459652427a3ef86e685 100644 (file)
@@ -130,7 +130,7 @@ static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
        const struct nfnetlink_subsystem *ss;
        int type, err;
 
-       if (security_netlink_recv(skb, CAP_NET_ADMIN))
+       if (!capable(CAP_NET_ADMIN))
                return -EPERM;
 
        /* All the messages must at least contain nfgenmsg */