Is this a typo in if_tap.c?

Ed Schouten ed at
Thu Nov 22 15:12:42 UTC 2012

2012/11/22 David Xu <davidxu at>:
> When I was trying to create a second tap device, kernel crashed.
> Is this patch correct ?

Yes, it looks okay.

Eventually we should get rid of the entire unit numbering thing in
if_tap and if_tun. If we would, we could remove a lot of dead code
from sys/sys/conf.h and sys/kern/kern_conf.c.

Ed Schouten <ed at>

More information about the freebsd-current mailing list