]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove the unnecessary check in cipso_v4_doi_free
author王贇 <yun.wang@linux.alibaba.com>
Fri, 3 Sep 2021 02:27:18 +0000 (10:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Sep 2021 12:52:29 +0000 (13:52 +0100)
commit406586b986f24fb7814e1717beb33451a86b7ff1
tree3a00e0b51946d16fdeb88145c143f82604f675d3
parent5542b415d3ecb467e7450bede71deb2b8207b358
net: remove the unnecessary check in cipso_v4_doi_free

The commit 1a31ad3aae60 ("net: fix NULL pointer reference in
cipso_v4_doi_free") was merged by a mistake, this patch try
to cleanup the mess.

And we already have the commit 38dcc780d193 ("net: fix NULL
pointer reference in cipso_v4_doi_free") which fixed the root
cause of the issue mentioned in it's description.

Suggested-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Michael Wang <yun.wang@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/cipso_ipv4.c