aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r--drivers/net/tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 55f3a3e667a9..7599c457abd1 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -757,7 +757,7 @@ static __inline__ ssize_t tun_put_user(struct tun_struct *tun,
757 757
758 if (skb->ip_summed == CHECKSUM_PARTIAL) { 758 if (skb->ip_summed == CHECKSUM_PARTIAL) {
759 gso.flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; 759 gso.flags = VIRTIO_NET_HDR_F_NEEDS_CSUM;
760 gso.csum_start = skb->csum_start - skb_headroom(skb); 760 gso.csum_start = skb_checksum_start_offset(skb);
761 gso.csum_offset = skb->csum_offset; 761 gso.csum_offset = skb->csum_offset;
762 } /* else everything is zero */ 762 } /* else everything is zero */
763 763
='sha1'>90b66e833261
9480e307cd88

0ca06a00e206

66e27788a336
0ca06a00e206



66e27788a336
0ca06a00e206

66e27788a336
0ca06a00e206


















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77












                                                                       
                         


                         
                             

  
                                                                         

                                                                        


                                                                        
                 

 
                



                                                                   
                                                

                                                       






                                              
                                               

                                               

                   
                      



                                         
                

                                           
                      


















                                            
/*
 * Linux driver model AC97 bus interface
 *
 * Author:	Nicolas Pitre
 * Created:	Jan 14, 2005
 * Copyright:	(C) MontaVista Software Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

#include <linux/module.h>
#include <linux/init.h>