mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue