From: Davide Caratti <dcara...@redhat.com> Date: Mon, 27 Aug 2018 22:56:22 +0200
> in the (rare) case of failure in nla_nest_start(), missing NULL checks in > tcf_pedit_key_ex_dump() can make the following command > > # tc action add action pedit ex munge ip ttl set 64 > > dereference a NULL pointer: ... > Like it's done for other TC actions, give up dumping pedit rules and return > an error if nla_nest_start() returns NULL. > > Fixes: 71d0ed7079df ("net/act_pedit: Support using offset relative to the > conventional network headers") > Signed-off-by: Davide Caratti <dcara...@redhat.com> Applied and queued up for -stable, thanks.