]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/xfrm/xfrm_user.c
[NETLINK]: Ignore !NLM_F_REQUEST messages directly in netlink_run_queue()
[mv-sheeva.git] / net / xfrm / xfrm_user.c
index 6b7f6dc144c7982bf54f31b20ac80068ea70eef2..913c8b727d8f623f7bd1dc02328da13fdc259547 100644 (file)
@@ -1858,9 +1858,6 @@ static int xfrm_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, int *err
        struct xfrm_link *link;
        int type, min_len;
 
-       if (!(nlh->nlmsg_flags & NLM_F_REQUEST))
-               return 0;
-
        type = nlh->nlmsg_type;
 
        /* A control message: ignore them */