Skip to content
Commit fb25478f authored by Pedro Tammela's avatar Pedro Tammela Committed by Greg Kroah-Hartman
Browse files

net/sched: act_pedit: remove extra check for key type



[ Upstream commit 57714018 ]

The netlink parsing already validates the key 'htype'.
Remove the datapath check as it's redundant.

Reviewed-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarPedro Tammela <pctammela@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 6c02568f ("net/sched: act_pedit: Parse L3 Header for L4 offset")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b4e5d0c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment