Yaroslav Tykhiy 249932144b Fix a number of minor bugs in the VLAN code:
* Initialize the "struct sockaddr_dl sdl" correctly in vlan_setmulti().

  PR: kern/22181

* The driver used to call malloc(..., M_NOWAIT), but to not check the
  return value. Change malloc(..., M_NOWAIT) to malloc(..., M_WAITOK)
  because the corresponding part of code is called from the upper
  half of the kernel only.

  PR: kern/22181

* Make sure a parent interface is up and running before invoking
  its if_start() routine in order to avoid system panic.

  PR: kern/22179 kern/24741 i386/25478

* Do not copy all the flags from a parent mindlessly.

  PR: kern/22179

* Do not call if_down() on a parent interface if it's already down.
  Call if_down() at splimp because if_down() needs that.

  PR: kern/22179

Reviewed by: wollman
2001-03-28 15:52:12 +00:00
..
2000-12-27 22:20:13 +00:00
2000-10-27 08:38:26 +00:00
2001-03-18 05:43:25 +00:00
2001-01-31 08:27:09 +00:00
2001-03-25 09:53:07 +00:00
2000-07-20 17:01:10 +00:00
2001-03-28 09:17:56 +00:00
2000-01-27 23:37:39 +00:00
2000-10-27 08:38:26 +00:00
2001-03-15 14:52:12 +00:00
2000-04-04 09:20:53 +00:00