drop_monitor: Split tracing enable / disable to different functions
authorIdo Schimmel <idosch@mellanox.com>
Sun, 11 Aug 2019 07:35:46 +0000 (10:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Aug 2019 17:53:30 +0000 (10:53 -0700)
commit7c747838a55818fd0cdbe48afd98fba726aa898d
tree2fba312c3a0190b4c223d35018a8bc0ee42e93d8
parent2cc2743d8feec87b0bc0c9c1106136852d97f566
drop_monitor: Split tracing enable / disable to different functions

Subsequent patches will need to enable / disable tracing based on the
configured alerting mode.

Reduce the nesting level and prepare for the introduction of this
functionality by splitting the tracing enable / disable operations into
two different functions.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/drop_monitor.c