aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-07-08 19:53:10 -0700
committerDavid S. Miller <[email protected]>2019-07-08 20:21:09 -0700
commit53601c68b8541672e026c0596a9dd8a86d96d7ab (patch)
tree5c8680e233565dd6665f418042d5898968a864af /net/lapb/lapb_in.c
parentff8869d5ed4e798c6dad89809689cb9d2e2ab2f8 (diff)
nfp: tls: use unique connection ids instead of 4-tuple for TX
Connection 4 tuple reuse is slightly problematic - TLS socket and context do not get destroyed until all the associated skbs left the system and all references are released. This leads to stale connection entry in the device preventing addition of new one if the 4 tuple is reused quickly enough. Instead of using read 4 tuple as the key use a unique ID. Set the protocol to TCP and port to 0 to ensure no collisions with real connections. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Dirk van der Merwe <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions