diff options
Diffstat (limited to 'net/netlink/genetlink.c')
-rw-r--r-- | net/netlink/genetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c index 548e4e6e698f..c2996794eb25 100644 --- a/net/netlink/genetlink.c +++ b/net/netlink/genetlink.c | |||
@@ -310,7 +310,7 @@ static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, | |||
310 | if (nlh->nlmsg_type < NLMSG_MIN_TYPE) | 310 | if (nlh->nlmsg_type < NLMSG_MIN_TYPE) |
311 | goto ignore; | 311 | goto ignore; |
312 | 312 | ||
313 | family = genl_family_find_byid(nlh->nlmsg_type); | 313 | family = genl_family_find_byid(nlh->nlmsg_type); |
314 | if (family == NULL) { | 314 | if (family == NULL) { |
315 | err = -ENOENT; | 315 | err = -ENOENT; |
316 | goto errout; | 316 | goto errout; |