-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
face: handle PcapHelper::Error when applying multicast configuration
When the network interface state is changed, NFD reconfigures its multicast ethernet faces. The code responsible for this is prone to a TOCTOU race condition, e.g., if an interface is quickly brought up and then down again. This currently raises an uncaught exception when we try to set a packet filter for that interface. Prevent this issue by catching PcapHelper errors in the same manner as we catch EthernetTransport errors, and skip creating the face. Refs: #5297 Change-Id: I9f91ac7c42dec06de34128cb34d6de8bb57e8cf5
- Loading branch information
Showing
2 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
<[email protected]> <[email protected]> | ||
Alexander Lane <[email protected]> | ||
<[email protected]> <[email protected]> | ||
<[email protected]> <[email protected]> | ||
<[email protected]> <[email protected]> | ||
Vince Lehman <[email protected]> <[email protected]> | ||
<[email protected]> <[email protected]> | ||
Hila Ben Abraham <[email protected]> | ||
<[email protected]> <[email protected]> | ||
Haowei Yuan <[email protected]> | ||
Hila Ben Abraham <[email protected]> | ||
<[email protected]> <[email protected]> | ||
Md Ashiqur Rahman <[email protected]> | ||
Minsheng Zhang <[email protected]> | ||
Spyridon Mastorakis <[email protected]> | ||
Md Ashiqur Rahman <[email protected]> | ||
Yumin Xia <[email protected]> | ||
<[email protected]> <[email protected]> | ||
Susmit Shannigrahi <[email protected]> | ||
Tai-Lin Chu <[email protected]> | ||
<[email protected]> <[email protected]> | ||
Vince Lehman <[email protected]> <[email protected]> | ||
Yumin Xia <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters