]> git.baikalelectronics.ru Git - kernel.git/commit
macvtap: fix the missing ret value of TUNSETQUEUE
authorJason Wang <jasowang@redhat.com>
Tue, 16 Jul 2013 05:36:33 +0000 (13:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jul 2013 20:01:57 +0000 (13:01 -0700)
commit176e47b593e494b106015cfe327d81096a0104c2
tree5cb2c258e6f0ce9d0f3799d687985135e70df182
parentabb7b66a800e7227cdcb45d60ae316baeb839e4b
macvtap: fix the missing ret value of TUNSETQUEUE

Commit ef397a5703a71d9906a9052bbf1e200a89de2fba
(macvtap: Convert to using rtnl lock) forget to return what
macvtap_ioctl_set_queue() returns to its caller. This may break multiqueue API
by always falling through to TUNGETFEATURES.

Cc: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c