netdev-linux: Fix netdev_send() to tap device.
authorBen Pfaff <blp@nicira.com>
Fri, 8 Apr 2011 23:34:17 +0000 (16:34 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 11 Apr 2011 16:36:49 +0000 (09:36 -0700)
commitf23347eaf53961214a384084018e9f7e37cecd49
tree5cf34e298109e26a07342e1cec9dfe6b061c5a32
parentb981622b84c7832adbaa3dffbe3d3d115f225926
netdev-linux: Fix netdev_send() to tap device.

Commit 76c308b50d3 "netdev-linux: Support 'send' for netdevs opened with
NETDEV_ETH_TYPE_NONE" broke sending packets to tap devices.  Sending a
packet to a tap device with an AF_PACKET socket causes that packet to be
looped back to be received on the tap device again, which obviously isn't
useful.
lib/netdev-linux.c