Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122538
b: refs/heads/master
c: 5013316
h: refs/heads/master
v: v3
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Dec 6, 2008
1 parent f733575 commit 6e6be7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a1197f5a6faa23e5d0c1f8ed97b011deb2a75457
refs/heads/master: 50133161a83c9e5974d430cabd77d6430ca7d579
9 changes: 4 additions & 5 deletions trunk/net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -1376,12 +1376,12 @@ static u8 tcp_sacktag_one(struct sk_buff *skb, struct sock *sk,
return sacked;
}

static int tcp_shifted_skb(struct sock *sk, struct sk_buff *prev,
struct sk_buff *skb,
static int tcp_shifted_skb(struct sock *sk, struct sk_buff *skb,
struct tcp_sacktag_state *state,
unsigned int pcount, int shifted, int mss)
{
struct tcp_sock *tp = tcp_sk(sk);
struct sk_buff *prev = tcp_write_queue_prev(sk, skb);

BUG_ON(!pcount);

Expand Down Expand Up @@ -1565,7 +1565,7 @@ static struct sk_buff *tcp_shift_skb_data(struct sock *sk, struct sk_buff *skb,

if (!skb_shift(prev, skb, len))
goto fallback;
if (!tcp_shifted_skb(sk, prev, skb, state, pcount, len, mss))
if (!tcp_shifted_skb(sk, skb, state, pcount, len, mss))
goto out;

/* Hole filled allows collapsing with the next as well, this is very
Expand All @@ -1584,8 +1584,7 @@ static struct sk_buff *tcp_shift_skb_data(struct sock *sk, struct sk_buff *skb,
len = skb->len;
if (skb_shift(prev, skb, len)) {
pcount += tcp_skb_pcount(skb);
tcp_shifted_skb(sk, prev, skb, state, tcp_skb_pcount(skb), len,
mss);
tcp_shifted_skb(sk, skb, state, tcp_skb_pcount(skb), len, mss);
}

out:
Expand Down

0 comments on commit 6e6be7a

Please sign in to comment.