aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.3/080-prot-release-cb.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-24 20:02:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-24 20:02:02 +0000
commitcac0cf6daa5df1faed5bc0f7fc764506e93bace0 (patch)
treeda5a1596ae9201d3f99bb59ec8db0758aa27b03e /target/linux/generic/patches-3.3/080-prot-release-cb.patch
parent67ad5ff2734551cf9548814b480a0bc5bacf7f1b (diff)
downloadmaster-187ad058-cac0cf6daa5df1faed5bc0f7fc764506e93bace0.tar.gz
master-187ad058-cac0cf6daa5df1faed5bc0f7fc764506e93bace0.tar.bz2
master-187ad058-cac0cf6daa5df1faed5bc0f7fc764506e93bace0.zip
kernel: remove linux 3.3 patches and config
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44109 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch27
1 files changed, 0 insertions, 27 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
deleted file mode 100644
index 56cda6b7e1..0000000000
--- a/target/linux/generic/patches-3.3/080-prot-release-cb.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-This was added in commit 46d3ceabd8d98ed0ad10f20c595ca784e34786c5 (tcp:
-TCP Small Queues) but we need it for pppoatm too.
-
---- a/include/net/sock.h
-+++ b/include/net/sock.h
-@@ -810,6 +810,8 @@ struct proto {
- int (*backlog_rcv) (struct sock *sk,
- struct sk_buff *skb);
-
-+ void (*release_cb)(struct sock *sk);
-+
- /* Keeping track of sk's, looking them up, and port selection methods. */
- void (*hash)(struct sock *sk);
- void (*unhash)(struct sock *sk);
---- a/net/core/sock.c
-+++ b/net/core/sock.c
-@@ -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);
-+
-+ if (sk->sk_prot->release_cb)
-+ sk->sk_prot->release_cb(sk);
-+
- sk->sk_lock.owned = 0;
- if (waitqueue_active(&sk->sk_lock.wq))
- wake_up(&sk->sk_lock.wq);