diff options
Diffstat (limited to 'sys/src/9/ip/ipv6.c')
| -rw-r--r-- | sys/src/9/ip/ipv6.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/src/9/ip/ipv6.c b/sys/src/9/ip/ipv6.c index 090d33460..7d7cdc09a 100644 --- a/sys/src/9/ip/ipv6.c +++ b/sys/src/9/ip/ipv6.c @@ -76,9 +76,7 @@ ipoput6(Fs *f, Block *bp, int gating, int ttl, int tos, Routehint *rh) else gate = r->v6.gate; - if(!canrlock(ifc)) - goto free; - + rlock(ifc); if(waserror()){ runlock(ifc); nexterror(); |
