[PATCH RESEND -next] lsm_audit: Clean up redundant NULL pointer check

Paul Moore paul at paul-moore.com
Tue Aug 16 02:27:06 UTC 2022


On Wed, Jul 13, 2022 at 10:49 PM xiujianfeng <xiujianfeng at huawei.com> wrote:
> 在 2022/7/14 10:33, Paul Moore 写道:
> > On Wed, Jul 13, 2022 at 9:27 PM Xiu Jianfeng <xiujianfeng at huawei.com> wrote:
> >> The implements of {ip,tcp,udp,dccp,sctp,ipv6}_hdr(skb) guarantee that
> >> they will never return NULL, and elsewhere users don't do the check
> >> as well, so remove the check here.
> >>
> >> Signed-off-by: Xiu Jianfeng <xiujianfeng at huawei.com>
> >> ---
> >>   security/lsm_audit.c | 14 +-------------
> >>   1 file changed, 1 insertion(+), 13 deletions(-)
> > Hi Xiu Jianfeng,
> >
> > We just changed LSM maintainers earlier this week, and while I haven't
> > forgotten about your patch (I reviewed it previously), it is too late
> > in this current release cycle (-rc6) to merge non-critical fixes.
> > This would go into the LSM tree after the upcoming merge window.
> >
> > Thank you for your patience and understanding.
>
> Hi, paul, I get it, thanks very much :)

I just merged this into the lsm/next branch, thanks for your patience.

-- 
paul-moore.com



More information about the Linux-security-module-archive mailing list