diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-04-21 15:18:58 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-04-21 15:18:58 +0000 |
commit | 407157942b2a0d7e74a9223dfc2601eae33ce438 (patch) | |
tree | 0e367872a6fa6b1a5fbe15dba5a3f243dda26c6c /target/linux/generic/patches-2.6.31/640-br2684_backport_routed.patch | |
parent | f480dd5941ebd6ea9622715f7b8d1e240d01c903 (diff) |
linux/2.6.31: R.I.P.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31412 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.31/640-br2684_backport_routed.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.31/640-br2684_backport_routed.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/target/linux/generic/patches-2.6.31/640-br2684_backport_routed.patch b/target/linux/generic/patches-2.6.31/640-br2684_backport_routed.patch deleted file mode 100644 index 1623e7f9b..000000000 --- a/target/linux/generic/patches-2.6.31/640-br2684_backport_routed.patch +++ /dev/null @@ -1,42 +0,0 @@ -commit 2e302ebfeac04beb5a5d6af1ac583c6a1fb76d1a -Author: chas williams - CONTRACTOR <chas@cmf.nrl.navy.mil> -Date: Fri Dec 4 11:06:32 2009 +0000 - - atm: [br2684] allow routed mode operation again - - in routed mode, we don't have a hardware address so netdev_ops doesnt - need to validate our hardware address via .ndo_validate_addr - - Reported-by: Manuel Fuentes <mfuentes@agenciaefe.com> - Signed-off-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil> - Signed-off-by: David S. Miller <davem@davemloft.net> - ---- a/net/atm/br2684.c -+++ b/net/atm/br2684.c -@@ -536,6 +536,12 @@ static const struct net_device_ops br268 - .ndo_validate_addr = eth_validate_addr, - }; - -+static const struct net_device_ops br2684_netdev_ops_routed = { -+ .ndo_start_xmit = br2684_start_xmit, -+ .ndo_set_mac_address = br2684_mac_addr, -+ .ndo_change_mtu = eth_change_mtu -+}; -+ - static void br2684_setup(struct net_device *netdev) - { - struct br2684_dev *brdev = BRPRIV(netdev); -@@ -551,11 +557,10 @@ static void br2684_setup(struct net_devi - static void br2684_setup_routed(struct net_device *netdev) - { - struct br2684_dev *brdev = BRPRIV(netdev); -- brdev->net_dev = netdev; - -+ brdev->net_dev = netdev; - netdev->hard_header_len = 0; -- -- netdev->netdev_ops = &br2684_netdev_ops; -+ netdev->netdev_ops = &br2684_netdev_ops_routed; - netdev->addr_len = 0; - netdev->mtu = 1500; - netdev->type = ARPHRD_PPP; |