Commit:     c7bf5f9dc2f78ae8ebbfffc5f17becd0d9e6ba9e
Parent:     de6e05c49f8b4ed63224c5d38891f531ecc4eabb
Author:     Thomas Graf <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 23 11:17:57 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Apr 25 22:27:46 2007 -0700

    [NETFILTER] nfnetlink: netlink_run_queue() already checks for NLM_F_REQUEST
    Patrick has made use of netlink_run_queue() in nfnetlink while my patches
    have been waiting for net-2.6.22 to open. So this check for NLM_F_REQUEST
    can go as well.
    Signed-off-by: Thomas Graf <[EMAIL PROTECTED]>
    Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/netfilter/nfnetlink.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c
index c37ed01..b0da853 100644
--- a/net/netfilter/nfnetlink.c
+++ b/net/netfilter/nfnetlink.c
@@ -204,10 +204,6 @@ static int nfnetlink_rcv_msg(struct sk_buff *skb, struct 
nlmsghdr *nlh)
        if (security_netlink_recv(skb, CAP_NET_ADMIN))
                return -EPERM;
-       /* Only requests are handled by kernel now. */
-       if (!(nlh->nlmsg_flags & NLM_F_REQUEST))
-               return 0;
        /* All the messages must at least contain nfgenmsg */
        if (nlh->nlmsg_len < NLMSG_SPACE(sizeof(struct nfgenmsg)))
                return 0;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to