diff options
Diffstat (limited to 'net/ipv4/ip_output.c')
| -rw-r--r-- | net/ipv4/ip_output.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index c09219e7f230..5dbec21856f4 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -939,7 +939,7 @@ static int __ip_append_data(struct sock *sk,  			unsigned int fraglen;  			unsigned int fraggap;  			unsigned int alloclen; -			unsigned int pagedlen = 0; +			unsigned int pagedlen;  			struct sk_buff *skb_prev;  alloc_new_skb:  			skb_prev = skb; @@ -956,6 +956,7 @@ alloc_new_skb:  			if (datalen > mtu - fragheaderlen)  				datalen = maxfraglen - fragheaderlen;  			fraglen = datalen + fragheaderlen; +			pagedlen = 0;  			if ((flags & MSG_MORE) &&  			    !(rt->dst.dev->features&NETIF_F_SG))  | 
