summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst (Tixy) <tixy@linaro.org>2014-04-14 21:20:49 -0700
committerDaniel Rosenberg <drosen@google.com>2014-12-16 13:29:48 -0800
commit8e9fc4621b1c87a425273404ff95b36bed64946b (patch)
tree1c93dcbc0408d6e9b280f777d3ba377985d8787a
parente75c963fdb75703e09e8e2410816b582f2946126 (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>
-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 ce41f7f7fbd..2c42067efba 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;