diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 1555bb73b638..920c57b90ded 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -767,7 +767,7 @@ int tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len, | |||
767 | struct sk_buff *buff; | 767 | struct sk_buff *buff; |
768 | int nsize, old_factor; | 768 | int nsize, old_factor; |
769 | int nlen; | 769 | int nlen; |
770 | u16 flags; | 770 | u8 flags; |
771 | 771 | ||
772 | BUG_ON(len > skb->len); | 772 | BUG_ON(len > skb->len); |
773 | 773 | ||
@@ -1282,7 +1282,7 @@ static int tso_fragment(struct sock *sk, struct sk_buff *skb, unsigned int len, | |||
1282 | { | 1282 | { |
1283 | struct sk_buff *buff; | 1283 | struct sk_buff *buff; |
1284 | int nlen = skb->len - len; | 1284 | int nlen = skb->len - len; |
1285 | u16 flags; | 1285 | u8 flags; |
1286 | 1286 | ||
1287 | /* All of a TSO frame must be composed of paged data. */ | 1287 | /* All of a TSO frame must be composed of paged data. */ |
1288 | if (skb->len != skb->data_len) | 1288 | if (skb->len != skb->data_len) |