projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: pass info struct via netdevice notifier
[firefly-linux-kernel-4.4.55.git]
/
net
/
core
/
netprio_cgroup.c
diff --git
a/net/core/netprio_cgroup.c
b/net/core/netprio_cgroup.c
index 0777d0aa18c3814a42a338a25d3508d9654c5797..e533259dce3ccad8a04cc095fa0056b8693fde70 100644
(file)
--- a/
net/core/netprio_cgroup.c
+++ b/
net/core/netprio_cgroup.c
@@
-261,7
+261,7
@@
struct cgroup_subsys net_prio_subsys = {
static int netprio_device_event(struct notifier_block *unused,
unsigned long event, void *ptr)
{
- struct net_device *dev =
ptr
;
+ struct net_device *dev =
netdev_notifier_info_to_dev(ptr)
;
struct netprio_map *old;
/*