Skip to content

Commit

Permalink
linux: Enable CONFIG_NET_DROP_MONITOR by default.
Browse files Browse the repository at this point in the history
Needed for subscribing to dropped packets (e.g. via `dropwatch`).
  • Loading branch information
nh2 authored and teto committed Apr 14, 2020
1 parent df012cc commit f16ae2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/os-specific/linux/kernel/common-config.nix
Expand Up @@ -178,6 +178,10 @@ let
NF_TABLES_BRIDGE = mkMerge [ (whenBetween "4.19" "5.3" yes)
(whenAtLeast "5.3" module) ];

# needed for `dropwatch`
# Builtin-only since https://github.com/torvalds/linux/commit/f4b6bcc7002f0e3a3428bac33cf1945abff95450
NET_DROP_MONITOR = yes;

# needed for ss
INET_DIAG = yes;
INET_TCP_DIAG = module;
Expand Down

0 comments on commit f16ae2d

Please sign in to comment.