mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm8668] get rid of the specific UART driver and use AMBA PL010
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34548 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user