[kernel] backport r21373 to 2.4 kernel
[openwrt.git] / target / linux / generic-2.4 / patches / 226-atm_br2684.patch
index bfff13a..0ae1cce 100644 (file)
        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;
        }
                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;
 -    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') {
This page took 0.021733 seconds and 4 git commands to generate.