netdev-linux: Only call set_nonblocking() if socket creation succeeds.
authorBen Pfaff <blp@nicira.com>
Fri, 29 Apr 2011 22:53:36 +0000 (15:53 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 13 May 2011 21:45:53 +0000 (14:45 -0700)
commitbd3932826b3d9153f6d026adaad2439ac23f2fcd
treec2d46f78cccc1d87cd2c4d58deb303430da2d20d
parent1c0b7503afdd750a7f2cadcd63b65d64889366c9
netdev-linux: Only call set_nonblocking() if socket creation succeeds.

Reviewed-by: Simon Horman <horms@verge.net.au>
lib/netdev-linux.c