Commit ca35a0e
tcp: md5: dont write skb head in tcp_md5_hash_header()
tcp_md5_hash_header() writes into skb header a temporary zero value,
this might confuse other users of this area.
Since tcphdr is small (20 bytes), copy it in a temporary variable and
make the change in the copy.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 01718e3 commit ca35a0e
2 files changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1209 | 1209 | | |
1210 | 1210 | | |
1211 | 1211 | | |
1212 | | - | |
| 1212 | + | |
1213 | 1213 | | |
1214 | 1214 | | |
1215 | 1215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2994 | 2994 | | |
2995 | 2995 | | |
2996 | 2996 | | |
2997 | | - | |
| 2997 | + | |
2998 | 2998 | | |
2999 | 2999 | | |
| 3000 | + | |
3000 | 3001 | | |
3001 | 3002 | | |
3002 | | - | |
3003 | | - | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
3004 | 3007 | | |
3005 | | - | |
3006 | | - | |
3007 | | - | |
| 3008 | + | |
| 3009 | + | |
3008 | 3010 | | |
3009 | 3011 | | |
3010 | 3012 | | |
| |||
0 commit comments