net: use dev_change_tx_queue_len() for SIOCSIFTXQLEN
authorCong Wang <xiyou.wangcong@gmail.com>
Fri, 29 Jun 2018 20:42:48 +0000 (13:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 12:26:52 +0000 (21:26 +0900)
commit3f76df198288ceec92fc9eddecad1e73c52769b0
treea88f04d1846507e8ae6ddad84dbbb1fd39d073c2
parentced9e191501e52b95e1b57b8e0db00943869eed0
net: use dev_change_tx_queue_len() for SIOCSIFTXQLEN

As noticed by Eric, we need to switch to the helper
dev_change_tx_queue_len() for SIOCSIFTXQLEN call path too,
otheriwse still miss dev_qdisc_change_tx_queue_len().

Fixes: 6a643ddb5624 ("net: introduce helper dev_change_tx_queue_len()")
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_ioctl.c