mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
drop_monitor: convert to modular building
When I first wrote drop monitor I wrote it to just build monolithically. There is no reason it can't be built modularly as well, so lets give it that flexibiity. I've tested this by building it as both a module and monolithically, and it seems to work quite well Change notes: v2) * fixed for_each_present_cpu loops to be more correct as per Eric D. * Converted exit path failures to BUG_ON as per Ben H. v3) * Converted del_timer to del_timer_sync to close race noted by Ben H. Signed-off-by: Neil Horman <[email protected]> CC: "David S. Miller" <[email protected]> CC: Eric Dumazet <[email protected]> CC: Ben Hutchings <[email protected]> Reviewed-by: Ben Hutchings <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
a1c7fff7e1
commit
cad456d5ab
2 changed files with 45 additions and 3 deletions
|
|
@ -296,7 +296,7 @@ config NET_TCPPROBE
|
|||
module will be called tcp_probe.
|
||||
|
||||
config NET_DROP_MONITOR
|
||||
boolean "Network packet drop alerting service"
|
||||
tristate "Network packet drop alerting service"
|
||||
depends on INET && EXPERIMENTAL && TRACEPOINTS
|
||||
---help---
|
||||
This feature provides an alerting service to userspace in the
|
||||
|
|
|
|||
Loading…
Reference in a new issue