projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include/netfilter.mk: add 2.6.35 kernel support
[openwrt.git]
/
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
9ec555e
..
0ae1cce
100644
(file)
--- 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
@@ -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);
}
netif_rx(skb);
}
-@@ -52
5,10 +625
,10 @@ Note: we do not have explicit unassign,
+@@ -52
9,10 +629
,10 @@ Note: we do not have explicit unassign,
err = -EEXIST;
goto error;
}
err = -EEXIST;
goto error;
}
@@
-274,7
+272,7
@@
Index: linux-2.4.35.4/net/atm/br2684.c
err = -EINVAL;
goto error;
}
err = -EINVAL;
goto error;
}
-@@ -55
4,18 +654
,21 @@ Note: we do not have explicit unassign,
+@@ -55
3,18 +653
,21 @@ Note: we do not have explicit unassign,
brvcc->atmvcc = atmvcc;
atmvcc->user_back = brvcc;
brvcc->encaps = (enum br2684_encaps) be.encaps;
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);
- error:
+ error:
write_unlock_irq(&devs_lock);
+ kfree(brvcc);
MOD_DEC_USE_COUNT;
MOD_DEC_USE_COUNT;
- return err;
@@ -608,12 +711,25 @@ static int br2684_create(unsigned long a
if (ni.ifname[0] != '\0') {
@@ -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);
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
@@ -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
#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 <linux/atm.h>
@@ -3,6 +3,7 @@
#include <linux/atm.h>
This page took
0.022001 seconds
and
4
git commands to generate.