Ciara Loftus afd0be7299 libbpf: Fix potential NULL pointer dereference
Wait until after the UMEM is checked for null to dereference it.

Fixes: 43f1bc1efff1 ("libbpf: Restore umem state after socket create failure")
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210408052009.7844-1-ciara.loftus@intel.com
2021-04-08 23:36:46 +02:00
..
2020-04-03 13:12:26 -07:00
2020-08-22 10:53:12 +01:00
2020-04-02 17:57:10 +01:00
2021-03-06 16:54:33 -03:00
2021-02-22 08:50:01 -08:00
2021-02-22 13:59:43 -08:00
2020-08-19 14:11:44 +02:00
2020-09-04 12:46:06 +01:00