diff options
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r-- | net/ipv6/ip6_output.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index be2264e7dd2d..a254e4b5d968 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c | |||
@@ -1198,7 +1198,6 @@ int ip6_append_data(struct sock *sk, int getfrag(void *from, char *to, | |||
1198 | int copy; | 1198 | int copy; |
1199 | int err; | 1199 | int err; |
1200 | int offset = 0; | 1200 | int offset = 0; |
1201 | int csummode = CHECKSUM_NONE; | ||
1202 | __u8 tx_flags = 0; | 1201 | __u8 tx_flags = 0; |
1203 | 1202 | ||
1204 | if (flags&MSG_PROBE) | 1203 | if (flags&MSG_PROBE) |
@@ -1411,7 +1410,7 @@ alloc_new_skb: | |||
1411 | /* | 1410 | /* |
1412 | * Fill in the control structures | 1411 | * Fill in the control structures |
1413 | */ | 1412 | */ |
1414 | skb->ip_summed = csummode; | 1413 | skb->ip_summed = CHECKSUM_NONE; |
1415 | skb->csum = 0; | 1414 | skb->csum = 0; |
1416 | /* reserve for fragmentation and ipsec header */ | 1415 | /* reserve for fragmentation and ipsec header */ |
1417 | skb_reserve(skb, hh_len + sizeof(struct frag_hdr) + | 1416 | skb_reserve(skb, hh_len + sizeof(struct frag_hdr) + |
@@ -1454,7 +1453,6 @@ alloc_new_skb: | |||
1454 | transhdrlen = 0; | 1453 | transhdrlen = 0; |
1455 | exthdrlen = 0; | 1454 | exthdrlen = 0; |
1456 | dst_exthdrlen = 0; | 1455 | dst_exthdrlen = 0; |
1457 | csummode = CHECKSUM_NONE; | ||
1458 | 1456 | ||
1459 | /* | 1457 | /* |
1460 | * Put the packet on the pending queue | 1458 | * Put the packet on the pending queue |