Fix an obvious typo from r1.1. We were acquiring an exclusive writer lock
regardless of the given flags. MFC after: 3 days
This commit is contained in:
parent
90104f5413
commit
82040afcf3
@ -323,7 +323,7 @@ lla_rt_output(struct rt_msghdr *rtm, struct rt_addrinfo *info)
|
||||
LLTABLE_RUNLOCK();
|
||||
KASSERT(llt != NULL, ("Yep, ugly hacks are bad\n"));
|
||||
|
||||
if (flags && LLE_CREATE)
|
||||
if (flags & LLE_CREATE)
|
||||
flags |= LLE_EXCLUSIVE;
|
||||
|
||||
IF_AFDATA_LOCK(ifp);
|
||||
|
Loading…
Reference in New Issue
Block a user