generic: disintegrate UAPI from include/linux/switch.h
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.3 / 080-prot-release-cb.patch
index 8af8a198f1a07227fdb4f0a234b3485ff6ea2389..56cda6b7e164d3af426bd54175b9f098fe7c126d 100644 (file)
@@ -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);