mirror of
https://github.com/t2linux/kernel.git
synced 2026-04-30 13:48:59 -07:00
afd0be7299
Wait until after the UMEM is checked for null to dereference it.
Fixes: 43f1bc1eff ("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