diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-06-08 14:56:01 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-08 14:56:01 -0700 |
commit | e3876605450979fe52a1a03e7eb78a89bf59e76a (patch) | |
tree | f9231d5bda84f4450583b4fbd64456ba3caeb499 /net/core/pktgen.c | |
parent | 699a411451a32cc111410f44f172b265f6d679c8 (diff) |
[NET]: Fix sysctl net.core.dev_weight
Changing the sysctl net.core.dev_weight has no effect because the weight
of the backlog devices is set during initialization and never changed.
This patch propagates any changes to the global value affected by sysctl
to the per-cpu devices. It is done every time the packet handler
function is run.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions