]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nfp-tls-fixes-for-initial-TLS-support'
authorDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 03:21:10 +0000 (20:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 03:21:10 +0000 (20:21 -0700)
commit52c078c65e12d2629e94d60dc9d13545900134ed
tree8690bd0fe8a0e62fc8610face1254683ee6c31a1
parent2a2e496fa6fc463d70b7287cdddc25bc413b4a8e
parent3cd95b13ef9bff5253687b0cfdb793fe918e1d6a
Merge branch 'nfp-tls-fixes-for-initial-TLS-support'

Jakub Kicinski says:

====================
nfp: tls: fixes for initial TLS support

This series brings various fixes to nfp tls offload recently added
to net-next.

First 4 patches revolve around device mailbox communication, trying
to make it more reliable. Next patch fixes statistical counter.
Patch 6 improves the TX resync if device communication failed.
Patch 7 makes sure we remove keys from memory after talking to FW.
Patch 8 adds missing tls context initialization, we fill in the
context information from various places based on the configuration
and looks like we missed the init in the case of where TX is
offloaded, but RX wasn't initialized yet. Patches 9 and 10 make
the nfp driver undo TLS state changes if we need to drop the
frame (e.g. due to DMA mapping error).

Last but not least TLS fallback should not adjust socket memory
after skb_orphan_partial(). This code will go away once we forbid
orphaning of skbs in need of crypto, but that's "real" -next
material, so lets do a quick fix.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>