diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-08-01 13:43:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-01 16:32:05 -0700 |
commit | 266e83474c98e9f18d31f4837cfe05819a660d32 (patch) | |
tree | ee1ee950654dcb6eab2f2d3f78f03db4a29e3ae1 /drivers/net/usb/pegasus.h | |
parent | c756891a4e1c08c43780e17aca1d2b849ef31d1a (diff) |
macvlan: better mode validation
macvlan passthrough mode is special: it's not possible to switch to or
from it through a netlink command.
But if you try, the command will succeed, which is
confusing.
Validate input and return error to user.
Cc: Sridhar Samudrala <sri@us.ibm.com>
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>
Diffstat (limited to 'drivers/net/usb/pegasus.h')
0 files changed, 0 insertions, 0 deletions