Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256610
b: refs/heads/master
c: d9be4f7
h: refs/heads/master
v: v3
  • Loading branch information
Bill Sommerfeld authored and David S. Miller committed Jul 22, 2011
1 parent 37b4858 commit ae8bd60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 2e66f55b3afa290337a47e6ea134ac071c5dd9a7
refs/heads/master: d9be4f7a6f5a8da3133b832eca41c3591420b1ca
6 changes: 3 additions & 3 deletions trunk/net/ipv4/ip_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ static inline int ip_ufo_append_data(struct sock *sk,
int getfrag(void *from, char *to, int offset, int len,
int odd, struct sk_buff *skb),
void *from, int length, int hh_len, int fragheaderlen,
int transhdrlen, int mtu, unsigned int flags)
int transhdrlen, int maxfraglen, unsigned int flags)
{
struct sk_buff *skb;
int err;
Expand Down Expand Up @@ -767,7 +767,7 @@ static inline int ip_ufo_append_data(struct sock *sk,
skb->csum = 0;

/* specify the length of each IP datagram fragment */
skb_shinfo(skb)->gso_size = mtu - fragheaderlen;
skb_shinfo(skb)->gso_size = maxfraglen - fragheaderlen;
skb_shinfo(skb)->gso_type = SKB_GSO_UDP;
__skb_queue_tail(queue, skb);
}
Expand Down Expand Up @@ -831,7 +831,7 @@ static int __ip_append_data(struct sock *sk,
(rt->dst.dev->features & NETIF_F_UFO) && !rt->dst.header_len) {
err = ip_ufo_append_data(sk, queue, getfrag, from, length,
hh_len, fragheaderlen, transhdrlen,
mtu, flags);
maxfraglen, flags);
if (err)
goto error;
return 0;
Expand Down

0 comments on commit ae8bd60

Please sign in to comment.