projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0ab8ff
)
Subject: [PATCH] br2684: restore net_dev initialization
author
Rabin Vincent
<
[email protected]
>
Sat, 2 May 2009 20:49:36 +0000
(13:49 -0700)
committer
David S. Miller
<
[email protected]
>
Sat, 2 May 2009 20:49:36 +0000
(13:49 -0700)
Commit
0ba25ff4c669e5395110ba6ab4958a97a9f96922
("br2684: convert to
net_device_ops") inadvertently deleted the initialization of the net_dev
pointer in the br2684_dev structure, leading to crashes. This patch
adds it back.
Reported-by: Mikko Vinni <
[email protected]
>
Tested-by: Mikko Vinni <
[email protected]
>
Signed-off-by: Rabin Vincent <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/atm/br2684.c
patch
|
blob
|
history
diff --git
a/net/atm/br2684.c
b/net/atm/br2684.c
index 334fcd4a4ea469c26ecdc958b40ffa5b74d35f1e..3100a8940afce8f38ca59e8fe27917ab480f7dfd 100644
(file)
--- a/
net/atm/br2684.c
+++ b/
net/atm/br2684.c
@@
-549,6
+549,7
@@
static void br2684_setup(struct net_device *netdev)
struct br2684_dev *brdev = BRPRIV(netdev);
ether_setup(netdev);
+ brdev->net_dev = netdev;
netdev->netdev_ops = &br2684_netdev_ops;