tcp: md5: dont write skb head in tcp_md5_hash_header()
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 24 Oct 2011 05:52:35 +0000 (01:52 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2011 05:52:35 +0000 (01:52 -0400)
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>

No differences found