drivers/net/macvtap: fix error check
authorNicolas Kaiser <nikai@nikai.net>
Fri, 4 Mar 2011 13:49:41 +0000 (13:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2011 23:57:58 +0000 (15:57 -0800)
commitce3c869283739379134e1a90c37dd1a30b5f31b7
tree781b387b2bf46d494084a080334c7eb4084fbacf
parentb3ca9b02b00704053a38bfe4c31dbbb9c13595d0
drivers/net/macvtap: fix error check

'len' is unsigned of type size_t and can't be negative.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c