]> git.ipfire.org Git - people/ms/suricata.git/commit
decode: Eliminate NULL pkt checks
authorJeff Lucovsky <jeff@lucovsky.org>
Mon, 24 May 2021 12:01:58 +0000 (08:01 -0400)
committerVictor Julien <victor@inliniac.net>
Fri, 4 Jun 2021 10:02:58 +0000 (12:02 +0200)
commit83067e5a5588f46ed614f2626f7353e84a15634d
tree42aa1b49019eefd3f944c948eb261fe12d4e314b
parent2a326421aa29154ebfaada3888974a634feb5f56
decode: Eliminate NULL pkt checks

This commit removes the NULL pkt check that each decoder performs as
this is a "can't happen" case.
19 files changed:
src/decode-chdlc.c
src/decode-erspan.c
src/decode-esp.c
src/decode-ethernet.c
src/decode-geneve.c
src/decode-gre.c
src/decode-mpls.c
src/decode-nsh.c
src/decode-null.c
src/decode-ppp.c
src/decode-pppoe.c
src/decode-raw.c
src/decode-sctp.c
src/decode-sll.c
src/decode-template.c
src/decode-teredo.c
src/decode-vlan.c
src/decode-vntag.c
src/decode-vxlan.c