- Move IFF_UP checking to the beginning of ether_input().
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 27 Nov 2007 11:06:31 +0000 (11:06 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 27 Nov 2007 11:06:31 +0000 (11:06 +0000)
commite7790e645eeb7ad5754be9f9fa417e4ec19f5969
treea0356fe62f1aa3afdaf58369ac252f8da91c814b
parent7f7c1f84f523515828ebd98df2551d65fba560c8
- Move IFF_UP checking to the beginning of ether_input().
- Move ethernet multicast/broadcast destination testing to ether_input(),
  before IFF_MONITOR testing.
- Use ETHER_IS_MULTICAST macro to test ethernet multicast/broadcast address.

Obtained-from: FreeBSD

- Nuke no longer needed 'pre_stats' label.
- In ether_input(), assert that the input mbuf contains pkthdr.
sys/net/if_ethersubr.c