Simplify ether_mport(). This also fixes the bug that m0 is not cleared in
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 26 Jul 2008 04:49:37 +0000 (04:49 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 26 Jul 2008 04:49:37 +0000 (04:49 +0000)
commite420e7d5de6035b1ba4e1109d221efc954c562c1
tree7b57ceb4ad64cdea0ff943c3cf60b41576cdd144
parentb0c45571a80a5f477fb259349de5528e3ec0ef5a
Simplify ether_mport().  This also fixes the bug that m0 is not cleared in
the first place, which causes caller panik.

Reported-by: elekktretterr@exemail.com.au
sys/net/if_ethersubr.c