]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/sched: act_pedit: remove extra check for key type
authorPedro Tammela <pctammela@mojatatu.com>
Fri, 21 Apr 2023 21:25:16 +0000 (18:25 -0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Apr 2023 17:35:27 +0000 (18:35 +0100)
commit577140180ba28d0d37bc898c7bd6702c83aa106f
tree69dd5e315925ebfcad00f1a8b05daddc19bde985
parente1201bc781c28766720e78a5e099ffa568be4d74
net/sched: act_pedit: remove extra check for key type

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>
net/sched/act_pedit.c