ANDROID: netfilter: 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>
This commit is contained in:
committed by
Amit Pundir
parent
a89db3e49d
commit
6fc67945ea
@@ -1375,7 +1375,7 @@ static void if_tag_stat_update(const char *ifname, uid_t uid,
|
|||||||
|
|
||||||
static int iface_netdev_event_handler(struct notifier_block *nb,
|
static int iface_netdev_event_handler(struct notifier_block *nb,
|
||||||
unsigned long event, void *ptr) {
|
unsigned long event, void *ptr) {
|
||||||
struct net_device *dev = ptr;
|
struct net_device *dev = netdev_notifier_info_to_dev(ptr);
|
||||||
|
|
||||||
if (unlikely(module_passive))
|
if (unlikely(module_passive))
|
||||||
return NOTIFY_DONE;
|
return NOTIFY_DONE;
|
||||||
|
|||||||
Reference in New Issue
Block a user