X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0ec45ff59636032156ccdcc3cc54c1862af1e7b2..9a74b7c37f23cca5f3ad3fa1ce7a716ba1b93cfd:/target/linux/generic-2.4/patches/226-atm_br2684.patch?ds=inline 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 bfff13afa..0ae1cce2e 100644 --- a/target/linux/generic-2.4/patches/226-atm_br2684.patch +++ b/target/linux/generic-2.4/patches/226-atm_br2684.patch @@ -257,7 +257,7 @@ 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; } @@ -272,7 +272,7 @@ 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; @@ -293,8 +293,8 @@ - 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') {