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 <>
Tested-by: default avatarMikko Vinni <>
Signed-off-by: default avatarRabin Vincent <>
Signed-off-by: default avatarDavid S. Miller <>
parent d0ab8ff8
......@@ -549,6 +549,7 @@ static void br2684_setup(struct net_device *netdev)
struct br2684_dev *brdev = BRPRIV(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