Commit 902e5ea1 authored by Rabin Vincent's avatar Rabin Vincent Committed by David S. Miller

Subject: [PATCH] br2684: restore net_dev initialization

Commit 0ba25ff4 ("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: default avatarMikko Vinni <mmvinni@yahoo.com>
Tested-by: default avatarMikko Vinni <mmvinni@yahoo.com>
Signed-off-by: default avatarRabin Vincent <rabin@rab.in>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d0ab8ff8
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment