tcp: md5: fix a typo in tcp_v4_md5_lookup()
authorEric Dumazet <edumazet@google.com>
Thu, 9 Apr 2015 21:36:42 +0000 (14:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Apr 2015 22:11:16 +0000 (18:11 -0400)
commitb52e69217b5a02469f8431934f59c0d7103dd32f
tree68572541dc65897b236287db2a0fd5af166370fe
parent2e9095234daa5ac3aa5f53f66b00c92d32271343
tcp: md5: fix a typo in tcp_v4_md5_lookup()

Lookup key for tcp_md5_do_lookup() has to be taken
from addr_sk, not sk (which can be the listener)

Fixes: fd3a154a00fb ("tcp: md5: get rid of tcp_v[46]_reqsk_md5_lookup()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c