netfilter: quota2: add support to log quota limit reached.
authorJP Abgrall <jpa@google.com>
Wed, 13 Jul 2011 23:02:31 +0000 (16:02 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:21:52 +0000 (12:21 -0800)
commit212966efa39ffe0622c94237208ae6ac74af8351
tree103faa7d807ccba12687685c5f27e772041e943f
parente1e926de0dd6ff913356e5f09550ba79a4ea573f
netfilter: quota2: add support to log quota limit reached.

This uses the NETLINK NETLINK_NFLOG family to log a single message
when the quota limit is reached.
It uses the same packet type as ipt_ULOG, but
 - never copies skb data,
 - uses 112 as the event number (ULOG's +1)

It doesn't log if the module param "event_num" is 0.

Change-Id: I6f31736b568bb31a4ff0b9ac2ee58380e6b675ca
Signed-off-by: JP Abgrall <jpa@google.com>
net/netfilter/Kconfig
net/netfilter/xt_quota2.c