]> git.baikalelectronics.ru Git - kernel.git/commit
rtnetlink: do not set notification for tx_queue_len in do_setlink
authorXin Long <lucien.xin@gmail.com>
Sun, 15 Oct 2017 10:13:46 +0000 (18:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Oct 2017 19:48:45 +0000 (20:48 +0100)
commitd8967c140205b2b9666662181af53674ab7774eb
tree4b80407f2aeec8fe39378ac2d39e31488726af38
parent470730c932493529eeb622c9c37a063134c215dd
rtnetlink: do not set notification for tx_queue_len in do_setlink

NETDEV_CHANGE_TX_QUEUE_LEN event process in rtnetlink_event would
send a notification for userspace and tx_queue_len's setting in
do_setlink would trigger NETDEV_CHANGE_TX_QUEUE_LEN.

So it shouldn't set DO_SETLINK_NOTIFY status for this change to
send a notification any more.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c