aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r--net/xfrm/xfrm_user.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index ca7a207b81a9..c9a84e22f5d5 100644
--- a/net/xfrm/xfrm_user.c
+++ b/net/xfrm/xfrm_user.c
@@ -2621,10 +2621,8 @@ static int xfrm_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
2621 const struct xfrm_link *link; 2621 const struct xfrm_link *link;
2622 int type, err; 2622 int type, err;
2623 2623
2624#ifdef CONFIG_COMPAT
2625 if (in_compat_syscall()) 2624 if (in_compat_syscall())
2626 return -EOPNOTSUPP; 2625 return -EOPNOTSUPP;
2627#endif
2628 2626
2629 type = nlh->nlmsg_type; 2627 type = nlh->nlmsg_type;
2630 if (type > XFRM_MSG_MAX) 2628 if (type > XFRM_MSG_MAX)