OpenBSD/src m6x8fRK — sys/netinet6 ip6_forward.c
Do not assume if_get(9) returns a non NULL ifp when using a route interface index. This assumption is true for the moment iff the route lookup *and* the if_get() are done under KERNEL_LOCK(). This is not the case here. Found the hardway by Hrvoje Popovski. ok florian@, visa@, bluhm@
Version | Delta | File | |
---|---|---|---|
1.96 | +3 | -1 | sys/netinet6/ip6_forward.c |
+3 | -1 | 1 files |