Searched hist:"266 e83474c98e9f18d31f4837cfe05819a660d32" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ |
H A D | macvlan.c | diff 266e83474c98e9f18d31f4837cfe05819a660d32 Thu Aug 01 12:43:19 CEST 2013 Michael S. Tsirkin <mst@redhat.com> 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>
|