Fix etheriq()'s extra-data problems
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 21 Sep 2016 19:10:52 +0000 (15:10 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 21 Sep 2016 21:27:46 +0000 (17:27 -0400)
commitcec511814f1d7390eb9f222029a6749881e993b6
treef4cf083a7eaa5040fd8b22723f515d0e4bb26b4b
parent80ff120277401f0ee621d6aa45e3ffeab3e8f1d2
Fix etheriq()'s extra-data problems

Or at least try to fix them.  The old code was clearly broken if you passed
in a block with extra data during tracing or any other snooping (including
virtio-net).

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/ether.c