aboutsummaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index f8e741d87a10..3a98b366dfc3 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -635,8 +635,6 @@ fill_addrinfo(struct rt_msghdr *rtm, int len, u_int fibnum, struct rt_addrinfo *
if (rt_xaddrs((caddr_t)(rtm + 1), len + (caddr_t)rtm, info))
return (EINVAL);
- if (rtm->rtm_flags & RTF_RNH_LOCKED)
- return (EINVAL);
info->rti_flags = rtm->rtm_flags;
if (info->rti_info[RTAX_DST] == NULL ||
info->rti_info[RTAX_DST]->sa_family >= AF_MAX ||