]> Git Repo - linux.git/commit - net/core/dev.c
net: introduce helper dev_change_tx_queue_len()
authorCong Wang <[email protected]>
Fri, 26 Jan 2018 02:26:22 +0000 (18:26 -0800)
committerDavid S. Miller <[email protected]>
Mon, 29 Jan 2018 17:42:15 +0000 (12:42 -0500)
commit6a643ddb5624be7e0694d49f5765a8d41c1ab6d0
tree2daa13ccb3dbe823770ca45732729dfa4a150ef8
parent4cd879515d686849eec5f718aeac62a70b067d82
net: introduce helper dev_change_tx_queue_len()

This patch promotes the local change_tx_queue_len() to a core
helper function, dev_change_tx_queue_len(), so that rtnetlink
and net-sysfs could share the code. This also prepares for the
following patch.

Note, the -EFAULT in the original code doesn't make sense,
we should propagate the errno from notifiers.

Cc: John Fastabend <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/linux/netdevice.h
net/core/dev.c
net/core/net-sysfs.c
net/core/rtnetlink.c
This page took 0.055259 seconds and 4 git commands to generate.