netfilter: xt_qtaguid: fix dev_stats for missing NETDEV_UNREGISTER
authorJP Abgrall <jpa@google.com>
Fri, 26 Aug 2011 00:10:52 +0000 (17:10 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:39:02 +0000 (21:39 -0800)
commit5dbc25c0f9f3d6c5297c38993b44b7247ba1c539
tree3ea7d8ae45ddebe442527a5f3051490885f6d99b
parent3f2c7974b7d2fb416ff38da05397df611a844b96
netfilter: xt_qtaguid: fix dev_stats for missing NETDEV_UNREGISTER

Turns out that some devices don't call the notifier chains
with NETDEV_UNREGISTER.
So now we only track up/down as the points for tracking
active/inactive transitions and saving the get_dev_stats().

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