Re: [PATCH] netfilter: xtables: Add snapshot of hardidletimer target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2019-11-12 16:44, Florian Westphal wrote:
Manoj Basapathi <manojbm@xxxxxxxxxxxxxx> wrote:
When the timer expires, the target module sends a sysfs notification
to the userspace, which can then decide what to do (eg. disconnect to
save power)

Compared to xt_IDLETIMER, xt_HARDIDLETIMER can send notifications when
CPU is in suspend too, to notify the timer expiry.

Would it make sense to add this feature to IDLETIMER instead of a new
module? AFAICS there is a lot of boilerplate overlap between those two.


Its a feature specific module .Keeping it as a separate module helps us to enable and disable it via defconfig. As iptable rules are target specific , it also helps iptable rules run independently and easier to debug .



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux