aboutsummaryrefslogtreecommitdiff
path: root/net/netfilter
diff options
context:
space:
mode:
authorJon Medhurst (Tixy) <tixy@linaro.org>2014-04-14 21:20:49 -0700
committerRuchi Kandoi <kandoiruchi@google.com>2015-02-04 14:09:18 -0800
commite09b94b795700d05ba85960b10f44c0eb3fb829a (patch)
tree64e121e96b69d770662dc1f06ba75065718ca8c9 /net/netfilter
parente0bffd5723cab462f621990e7183b8045ae4ad66 (diff)
xt_qtaguid: Fix boot panic
We need the change below because of mainline commit 351638e7de (net: pass info struct via netdevice notifier). Otherwise we panic. Change-Id: I7daf7513a733933fdcbaeebea7f8191f8b6a0432 Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/xt_qtaguid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_qtaguid.c b/net/netfilter/xt_qtaguid.c
index ce41f7f7fbd0..2c42067efba9 100644
--- a/net/netfilter/xt_qtaguid.c
+++ b/net/netfilter/xt_qtaguid.c
@@ -1375,7 +1375,7 @@ unlock:
static int iface_netdev_event_handler(struct notifier_block *nb,
unsigned long event, void *ptr) {
- struct net_device *dev = ptr;
+ struct net_device *dev = netdev_notifier_info_to_dev(ptr);
if (unlikely(module_passive))
return NOTIFY_DONE;