fix trunk breakage that sneaked in with the lacp diff:
authorreyk <reyk@openbsd.org>
Wed, 6 Aug 2008 17:04:28 +0000 (17:04 +0000)
committerreyk <reyk@openbsd.org>
Wed, 6 Aug 2008 17:04:28 +0000 (17:04 +0000)
commit4b7039e3c0492537a1a88cc7d7736de1b078acf0
treeff8607d379112fa2310692817ec795e6369f5fc7
parentb7e9e5a0604979d7afbc1cb439c4812945754542
fix trunk breakage that sneaked in with the lacp diff:

- don't use in-kernel IFMEDIA ioctls in lacp and remove two KASSERTs
that caused reliable panics - the lacp key can be locally assigned and
we don't need to query the media subtype here.

- unbreak failover/loadbalance/broadcast status handling.

Reported by brad@
ok deraadt@
sys/net/if_trunk.c
sys/net/trunklacp.c