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:Jamal Hadi Salim <jhs@mojatatu.com> Reviewed-by:
Simon Horman <simon.horman@corigine.com> Signed-off-by:
Pedro Tammela <pctammela@mojatatu.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: 6c02568f ("net/sched: act_pedit: Parse L3 Header for L4 offset") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment