X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f3016ce71f0bbc04af06b7f8be4a4af0fd0269c2..50aea5b14c477bbf20451ff2e211c6e3cbf2a132:/target/linux/generic-2.4/patches/226-atm_br2684.patch diff --git a/target/linux/generic-2.4/patches/226-atm_br2684.patch b/target/linux/generic-2.4/patches/226-atm_br2684.patch index 9ec555ed3..0ae1cce2e 100644 --- a/target/linux/generic-2.4/patches/226-atm_br2684.patch +++ b/target/linux/generic-2.4/patches/226-atm_br2684.patch @@ -1,7 +1,5 @@ -Index: linux-2.4.35.4/net/atm/br2684.c -=================================================================== ---- linux-2.4.35.4.orig/net/atm/br2684.c -+++ linux-2.4.35.4/net/atm/br2684.c +--- a/net/atm/br2684.c ++++ b/net/atm/br2684.c @@ -55,36 +55,55 @@ static void skb_debug(const struct sk_bu #define skb_debug(skb) do {} while (0) #endif @@ -259,7 +257,7 @@ Index: linux-2.4.35.4/net/atm/br2684.c netif_rx(skb); } -@@ -525,10 +625,10 @@ Note: we do not have explicit unassign, +@@ -529,10 +629,10 @@ Note: we do not have explicit unassign, err = -EEXIST; goto error; } @@ -274,7 +272,7 @@ Index: linux-2.4.35.4/net/atm/br2684.c err = -EINVAL; goto error; } -@@ -554,18 +654,21 @@ Note: we do not have explicit unassign, +@@ -553,18 +653,21 @@ Note: we do not have explicit unassign, brvcc->atmvcc = atmvcc; atmvcc->user_back = brvcc; brvcc->encaps = (enum br2684_encaps) be.encaps; @@ -295,8 +293,8 @@ Index: linux-2.4.35.4/net/atm/br2684.c - error: + error: write_unlock_irq(&devs_lock); + kfree(brvcc); MOD_DEC_USE_COUNT; - return err; @@ -608,12 +711,25 @@ static int br2684_create(unsigned long a if (ni.ifname[0] != '\0') { @@ -486,10 +484,8 @@ Index: linux-2.4.35.4/net/atm/br2684.c while (!list_empty(&br2684_devs)) { brdev = list_entry_brdev(br2684_devs.next); unregister_netdev(&brdev->net_dev); -Index: linux-2.4.35.4/net/atm/common.c -=================================================================== ---- linux-2.4.35.4.orig/net/atm/common.c -+++ linux-2.4.35.4/net/atm/common.c +--- a/net/atm/common.c ++++ b/net/atm/common.c @@ -158,6 +158,7 @@ void br2684_ioctl_set(int (*hook)(struct } #ifdef CONFIG_ATM_BR2684_MODULE @@ -498,10 +494,8 @@ Index: linux-2.4.35.4/net/atm/common.c #endif #endif -Index: linux-2.4.35.4/include/linux/atmbr2684.h -=================================================================== ---- linux-2.4.35.4.orig/include/linux/atmbr2684.h -+++ linux-2.4.35.4/include/linux/atmbr2684.h +--- a/include/linux/atmbr2684.h ++++ b/include/linux/atmbr2684.h @@ -3,6 +3,7 @@ #include