projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76081f
)
[TCP]: Make tcp_match_skb_to_sack() static.
author
Adrian Bunk
<
[email protected]
>
Fri, 26 Oct 2007 10:57:36 +0000
(
03:57
-0700)
committer
David S. Miller
<
[email protected]
>
Fri, 26 Oct 2007 10:57:36 +0000
(
03:57
-0700)
tcp_match_skb_to_sack() can become static.
Signed-off-by: Adrian Bunk <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv4/tcp_input.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_input.c
b/net/ipv4/tcp_input.c
index 47f4f353a470c811f519baf6b0439cb6153c8ab6..457697a043d9e3710d4ceaed25d87a1572cafb7a 100644
(file)
--- a/
net/ipv4/tcp_input.c
+++ b/
net/ipv4/tcp_input.c
@@
-1204,8
+1204,8
@@
static int tcp_check_dsack(struct tcp_sock *tp, struct sk_buff *ack_skb,
* which may fail and creates some hassle (caller must handle error case
* returns).
*/
-int tcp_match_skb_to_sack(struct sock *sk, struct sk_buff *skb,
- u32 start_seq, u32 end_seq)
+
static
int tcp_match_skb_to_sack(struct sock *sk, struct sk_buff *skb,
+
u32 start_seq, u32 end_seq)
{
int in_sack, err;
unsigned int pkt_len;