netdev-linux: Use "read", not "recv", for tap devices.
authorBen Pfaff <blp@nicira.com>
Thu, 8 Mar 2012 22:27:35 +0000 (14:27 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 8 Mar 2012 22:28:24 +0000 (14:28 -0800)
commit8e8cddf7946aa19a8567d8f2edc369009520e931
tree27860dd5a04ce9944768138c5052ea6bd3163ea0
parent1158389afa233c7191ba8f53820d7b128d9347fe
netdev-linux: Use "read", not "recv", for tap devices.

"recv" only works for sockets, but tap devices aren't sockets.

Makes the userspace switch work again.

Reported-by: Ravi Kerur <Ravi.Kerur@telekom.com>
Reported-by: 胡靖飞 <hujingfei914@msn.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
lib/netdev-linux.c