]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66ca471dbfa2ee0f0c7852c076abfb47e0d72105
tree68572541dc65897b236287db2a0fd5af166370fe
parent0bb974f6c2608349f85ee8bc00b4ec64d5c4123b
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: 2a3ed308f06d ("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