OSDN Git Service

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)
committerJP Abgrall <jpa@google.com>
Fri, 26 Aug 2011 00:17:49 +0000 (17:17 -0700)
commitc4b6650850bc1e7e858bf611764eaec5ec071ec3
tree79c79a0c02dcb0ced82fa4d6c910f589422c2177
parentb44e592cd883d16bb12e9d0fcd31fdb2b17d05c1
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