Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Move send of ipsec message outside lock #3763

Merged
merged 2 commits into from
Mar 5, 2020
Merged

Move send of ipsec message outside lock #3763

merged 2 commits into from
Mar 5, 2020

Conversation

bboreham
Copy link
Contributor

Addresses one of the reasons for #3762

The send may block, so do all changes to the forwarder object and release the lock before attempting to send. This makes the relationship between fastdp and ipsec more symmetrical, in that the former deals with sending and receiving while the latter deals in []byte messages.

Also drive-by fix of log.Warning to use formatted variant.

The send may block, so do all changes to the forwarder object and
release the lock before attempting to send.
Copy link
Contributor

@murali-reddy murali-reddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bboreham bboreham merged commit 709f820 into 2.6 Mar 5, 2020
@bboreham bboreham deleted the no-lock-round-send branch March 5, 2020 10:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants