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)
commit82a19eb8c02ab98bfe0bf6fa4915de370acb2858
tree5cb2c258e6f0ce9d0f3799d687985135e70df182
parent21d1196a35f5686c4323e42a62fdb4b23b0ab4a3
macvtap: fix the missing ret value of TUNSETQUEUE

Commit 441ac0fcaadc76ad09771812382345001dd2b813
(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