macvlan: handle set_promiscuity failures
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 1 Aug 2013 10:50:10 +0000 (13:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Aug 2013 23:32:05 +0000 (16:32 -0700)
commit787381415cf967c5d6d1d7c5b5bd893376945edd
tree6a087dbe3875655ef89276f5c20487ee90115922
parent266e83474c98e9f18d31f4837cfe05819a660d32
macvlan: handle set_promiscuity failures

It's quite unlikely that dev_set_promiscuity will fail,
but worth checking just in case.

Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c