In ether_input() use goto dropanyway instead of repeating m_freem()
authorbluhm <bluhm@openbsd.org>
Fri, 2 Feb 2018 22:00:39 +0000 (22:00 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 2 Feb 2018 22:00:39 +0000 (22:00 +0000)
commitb050d63245ccba76344dc888830fbe2e975a5d2a
treebc4ba4092e3141936949b09ea7290d08b98c0c69
parentfb81ce644970df72956c71d272e173ea820b5f46
In ether_input() use goto dropanyway instead of repeating m_freem()
and return.  Change sizeof(etherbroadcastaddr) to ETHER_ADDR_LEN
for consistency.
from Michele Curti
sys/net/if_ethersubr.c