]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/netlink/genetlink.c
[NETLINK]: Ignore !NLM_F_REQUEST messages directly in netlink_run_queue()
[net-next-2.6.git] / net / netlink / genetlink.c
index c2996794eb25c0c939dcd52ae594e0727322e654..039516f6cd80443c7a8cf2dc3a78fe9e43e42ef6 100644 (file)
@@ -304,9 +304,6 @@ static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
        struct genlmsghdr *hdr = nlmsg_data(nlh);
        int hdrlen, err = -EINVAL;
 
-       if (!(nlh->nlmsg_flags & NLM_F_REQUEST))
-               goto ignore;
-
        if (nlh->nlmsg_type < NLMSG_MIN_TYPE)
                goto ignore;