rwatson a761d4fb36 Reorganize in_control() so that invariants are more obvious, and so
that it is easier to lock:

- Handle the unsupported ioctl case at the beginning of in_control(),
  handing off to ifp->if_ioctl, rather than looking up interfaces and
  addresses unnecessarily in this case.

- Make it an invariant that ifp is always non-NULL when running
  in_control()-implemented ioctls, simplifying the code structure.

MFC after:	3 weeks
2009-04-23 21:41:37 +00:00
..
2009-04-15 17:31:22 +00:00
2009-03-09 13:32:19 +00:00
2009-04-23 21:27:06 +00:00
2009-04-19 21:37:45 +00:00
2009-04-13 19:54:33 +00:00
2009-04-01 17:06:28 +00:00