summaryrefslogtreecommitdiff
path: root/net/l2tp
diff options
context:
space:
mode:
authorGeorge Amanakis <gamanakis@gmail.com>2019-01-30 06:50:13 +0300
committerDavid S. Miller <davem@davemloft.net>2019-01-31 08:40:25 +0300
commit3a03cb8456cc1d61c467a5375e0a10e5207b948c (patch)
tree6bb5e3d2847b954be1f1d4102bc568c5ec8c937b /net/l2tp
parentef489749aae508e6f17886775c075f12ff919fb1 (diff)
downloadlinux-3a03cb8456cc1d61c467a5375e0a10e5207b948c.tar.xz
tun: move the call to tun_set_real_num_queues
Call tun_set_real_num_queues() after the increment of tun->numqueues since the former depends on it. Otherwise, the number of queues is not correctly accounted for, which results to warnings similar to: "vnet0 selects TX queue 11, but real number of TX queues is 11". Fixes: 0b7959b62573 ("tun: publish tfile after it's fully initialized") Reported-and-tested-by: George Amanakis <gamanakis@gmail.com> Signed-off-by: George Amanakis <gamanakis@gmail.com> Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions