NETGRAPH: Simplify ng_ether_input_orphan().
authorNuno Antunes <nuno.antunes@gmail.com>
Tue, 7 Sep 2010 17:48:42 +0000 (18:48 +0100)
committerNuno Antunes <nuno.antunes@gmail.com>
Tue, 10 Jan 2012 14:10:28 +0000 (14:10 +0000)
commit79b751508d4ea96fbca17bccc1aada87f5f8f80f
tree01f82a0e0149fc4a28df569c58583a65f08c91c2
parent49191e0f0468150d8a882b9aad15421e5cf4504e
NETGRAPH: Simplify ng_ether_input_orphan().

* Restore ethernet header on mbuf before passing it to
  ng_ether_input_orphan(), instead of doing it later. This improves
  API consistency between legacy netgraph and netgraph7.

Taken-from: FreeBSD
sys/net/if_ethersubr.c
sys/netgraph/ether/ng_ether.c