summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.3/080-prot-release-cb.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-12-06 22:39:43 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-12-06 22:39:43 +0000
commitafc2b07be18f32327351c73d1e58f8e27fdc29bd (patch)
treefeb35c59476836dbf48640992af895299ccbb89c /target/linux/generic/patches-3.3/080-prot-release-cb.patch
parent2dee2133c5d6a3aa87b341c09c8978dd771edb94 (diff)
downloadmtk-20170518-afc2b07be18f32327351c73d1e58f8e27fdc29bd.zip
mtk-20170518-afc2b07be18f32327351c73d1e58f8e27fdc29bd.tar.gz
mtk-20170518-afc2b07be18f32327351c73d1e58f8e27fdc29bd.tar.bz2
get rid of the specific UART driver and use AMBA PL010
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34548
Diffstat (limited to 'target/linux/generic/patches-3.3/080-prot-release-cb.patch')
-rw-r--r--target/linux/generic/patches-3.3/080-prot-release-cb.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-3.3/080-prot-release-cb.patch b/target/linux/generic/patches-3.3/080-prot-release-cb.patch
index 8af8a19..56cda6b 100644
--- a/target/linux/generic/patches-3.3/080-prot-release-cb.patch
+++ b/target/linux/generic/patches-3.3/080-prot-release-cb.patch
@@ -3,8 +3,8 @@ TCP Small Queues) but we need it for pppoatm too.
--- a/include/net/sock.h
+++ b/include/net/sock.h
-@@ -858,6 +858,8 @@ struct proto {
- int (*backlog_rcv) (struct sock *sk,
+@@ -810,6 +810,8 @@ struct proto {
+ int (*backlog_rcv) (struct sock *sk,
struct sk_buff *skb);
+ void (*release_cb)(struct sock *sk);
@@ -14,7 +14,7 @@ TCP Small Queues) but we need it for pppoatm too.
void (*unhash)(struct sock *sk);
--- a/net/core/sock.c
+++ b/net/core/sock.c
-@@ -2159,6 +2159,10 @@ void release_sock(struct sock *sk)
+@@ -2138,6 +2138,10 @@ void release_sock(struct sock *sk)
spin_lock_bh(&sk->sk_lock.slock);
if (sk->sk_backlog.tail)
__release_sock(sk);