From: Michael S. Tsirkin Date: Thu, 1 Aug 2013 10:43:19 +0000 (+0300) Subject: macvlan: better mode validation X-Git-Tag: v3.11-rc4~5^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=266e83474c98e9f18d31f4837cfe05819a660d32;p=pandora-kernel.git 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 Cc: "David S. Miller" Signed-off-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- Reading git-diff-tree failed