Skip to content
Commit 794e6871 authored by Patrick McHardy's avatar Patrick McHardy
Browse files

netfilter: ctnetlink: only assign helpers for matching protocols



Make sure not to assign a helper for a different network or transport
layer protocol to a connection.

Additionally change expectation deletion by helper to compare the name
directly - there might be multiple helper registrations using the same
name, currently one of them is chosen in an unpredictable manner and
only those expectations are removed.

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 2eff25c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment