Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5adbb9fb authored by Simon Horman's avatar Simon Horman
Browse files

netfilter: nf_conntrack_sip: Allow ct_sip_get_header() to be called with a null ct argument

parent bc01befd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -152,6 +152,9 @@ static int parse_addr(const struct nf_conn *ct, const char *cp,
	const char *end;
	int ret = 0;

	if (!ct)
		return 0;

	memset(addr, 0, sizeof(*addr));
	switch (nf_ct_l3num(ct)) {
	case AF_INET: