Skip to content
Commit 4b4ceb9d authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso
Browse files

netfilter: conntrack: __nf_ct_l4proto_find() always returns valid pointer



Remove unnecessary check for non-nul pointer in destroy_conntrack()
given that __nf_ct_l4proto_find() returns the generic protocol tracker
if the protocol is not supported.

Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 3e86638e
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