HomeFreeBSD

Use the correct key address when renegotiating the transmit key.

Description

Use the correct key address when renegotiating the transmit key.

Previously, get_keyid() was returning the address of the receive key
instead of the transmit key when renegotiating the transmit key. This
could either hang the card (if a connection was only offloading TLS TX
and thus had a receive key address of -1) or cause the connection to
fail by overwriting the wrong key (if both RX and TX TLS were
offloaded).

Submitted by: Harsh Jain @ Chelsio
Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on
Parents
rS333067: Remove redundant pipe from pdeathsig.c test.
Branches
Unknown
Tags
Unknown