]> 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)
commitd9eab6923a5f55a2d0ce45e34ec024d7769b5ae9
tree5cb2c258e6f0ce9d0f3799d687985135e70df182
parent147e13431eea0763908569be7915e035246b4891
macvtap: fix the missing ret value of TUNSETQUEUE

Commit 8af20165e0c84eb2c0e86cc839e8f518b1234f5b
(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