netfilter: xt_IDLETIMER: Add new netlink msg type
authorJP Abgrall <jpa@google.com>
Fri, 27 Apr 2012 06:28:35 +0000 (23:28 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Jul 2012 06:03:25 +0000 (11:03 +0530)
commit6ad64b2a3378686d63b08ff3ae5a03d0de6d5231
tree144062da843d17fa247749760a99c0f77b0c07e4
parent866353859bcd3328dd0be84e0f0ed6d1ba834772
netfilter: xt_IDLETIMER: Add new netlink msg type

Send notifications when the label becomes active after an idle period.
Send netlink message notifications in addition to sysfs notifications.
Using a uevent with
  subsystem=xt_idletimer
  INTERFACE=...
  STATE={active,inactive}

This is backport from common android-3.0
commit: beb914e987cbbd368988d2b94a6661cb907c4d5a
with uevent support instead of a new netlink message type.

Change-Id: I31677ef00c94b5f82c8457e5bf9e5e584c23c523
Signed-off-by: Ashish Sharma <ashishsharma@google.com>
Signed-off-by: JP Abgrall <jpa@google.com>
include/linux/netfilter/xt_IDLETIMER.h
net/netfilter/xt_IDLETIMER.c