]> 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)
commit6c988c33df088e2c2c4b17868cb52d602ac8bf8c
tree8690bd0fe8a0e62fc8610face1254683ee6c31a1
parentf6dbb6313d647d2afdad4de2761031772cbeeeff
parente367119aef21c0d603b87865fcd11cf69c351e2e
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>