diff options
-rw-r--r-- | include/net/inet_timewait_sock.h | 3 | ||||
-rw-r--r-- | net/ipv4/inet_timewait_sock.c | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/include/net/inet_timewait_sock.h b/include/net/inet_timewait_sock.h index 09a2532699b2..47d52b2414db 100644 --- a/include/net/inet_timewait_sock.h +++ b/include/net/inet_timewait_sock.h | |||
@@ -209,9 +209,6 @@ static inline void inet_twsk_put(struct inet_timewait_sock *tw) | |||
209 | extern struct inet_timewait_sock *inet_twsk_alloc(const struct sock *sk, | 209 | extern struct inet_timewait_sock *inet_twsk_alloc(const struct sock *sk, |
210 | const int state); | 210 | const int state); |
211 | 211 | ||
212 | extern void __inet_twsk_kill(struct inet_timewait_sock *tw, | ||
213 | struct inet_hashinfo *hashinfo); | ||
214 | |||
215 | extern void __inet_twsk_hashdance(struct inet_timewait_sock *tw, | 212 | extern void __inet_twsk_hashdance(struct inet_timewait_sock *tw, |
216 | struct sock *sk, | 213 | struct sock *sk, |
217 | struct inet_hashinfo *hashinfo); | 214 | struct inet_hashinfo *hashinfo); |
diff --git a/net/ipv4/inet_timewait_sock.c b/net/ipv4/inet_timewait_sock.c index a73cf93cee36..2586df09b9b6 100644 --- a/net/ipv4/inet_timewait_sock.c +++ b/net/ipv4/inet_timewait_sock.c | |||
@@ -14,7 +14,8 @@ | |||
14 | #include <net/ip.h> | 14 | #include <net/ip.h> |
15 | 15 | ||
16 | /* Must be called with locally disabled BHs. */ | 16 | /* Must be called with locally disabled BHs. */ |
17 | void __inet_twsk_kill(struct inet_timewait_sock *tw, struct inet_hashinfo *hashinfo) | 17 | static void __inet_twsk_kill(struct inet_timewait_sock *tw, |
18 | struct inet_hashinfo *hashinfo) | ||
18 | { | 19 | { |
19 | struct inet_bind_hashbucket *bhead; | 20 | struct inet_bind_hashbucket *bhead; |
20 | struct inet_bind_bucket *tb; | 21 | struct inet_bind_bucket *tb; |
@@ -47,8 +48,6 @@ void __inet_twsk_kill(struct inet_timewait_sock *tw, struct inet_hashinfo *hashi | |||
47 | inet_twsk_put(tw); | 48 | inet_twsk_put(tw); |
48 | } | 49 | } |
49 | 50 | ||
50 | EXPORT_SYMBOL_GPL(__inet_twsk_kill); | ||
51 | |||
52 | /* | 51 | /* |
53 | * Enter the time wait state. This is called with locally disabled BH. | 52 | * Enter the time wait state. This is called with locally disabled BH. |
54 | * Essentially we whip up a timewait bucket, copy the relevant info into it | 53 | * Essentially we whip up a timewait bucket, copy the relevant info into it |