diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2003-10-04 03:44:50 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2003-10-04 03:44:50 +0000 |
| commit | d1dd20be6e083b93b09d4a34c292fc935aa2a225 (patch) | |
| tree | 7bd40aa381e3ec3f09e84ae6cc70b74bf5683aa2 /sys/net/if_loop.c | |
| parent | c303328741662e0c1e59c9a0ad267c212567c8bc (diff) | |
Notes
Diffstat (limited to 'sys/net/if_loop.c')
| -rw-r--r-- | sys/net/if_loop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index f9c806bdb1c7..52c8d1cfea76 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -355,6 +355,8 @@ lortrequest(cmd, rt, info) struct rtentry *rt; struct rt_addrinfo *info; { + RT_LOCK_ASSERT(rt); + if (rt) { rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; /* for ISO */ /* |
