net: mdns: Check net_pkt before accessing it
If we run out of memory, then net_pkt might be null and we must
not access it.
Coverity-CID: 178235
Fixes #4593
Signed-off-by:
Jukka Rissanen <jukka.rissanen@linux.intel.com>
Loading
Please sign in to comment