diff options
author | John Dykstra <john.dykstra1@gmail.com> | 2009-07-17 09:23:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-20 07:49:08 -0700 |
commit | e547bc1eccf539b7403138d8ded913ffd2b7fd0d (patch) | |
tree | a5d776438864387bdc305ef3ce186ba527f5b5d4 /samples | |
parent | e3afe7b75ed8f809c1473ea9b39267487c187ccb (diff) |
tcp: Use correct peer adr when copying MD5 keys
When the TCP connection handshake completes on the passive
side, a variety of state must be set up in the "child" sock,
including the key if MD5 authentication is being used. Fix TCP
for both address families to label the key with the peer's
destination address, rather than the address from the listening
sock, which is usually the wildcard.
Reported-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: John Dykstra <john.dykstra1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions