commit | ff74e23f7edb3759d1290b10f80222e3bbb6304b | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Mar 24 15:58:54 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 24 21:16:29 2015 -0400 |
tree | 72cb9b6121234d31fc179bf9d780c51f3c3a6e85 | |
parent | 0980c1e3084572b1d6c35ace5d795cf68b7ae409 [diff] |
tcp: md5: input path is run under rcu protected sections It is guaranteed that both tcp_v4_rcv() and tcp_v6_rcv() run from rcu read locked sections : ip_local_deliver_finish() and ip6_input_finish() both use rcu_read_lock() Also align tcp_v6_inbound_md5_hash() on tcp_v4_inbound_md5_hash() by returning a boolean. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>