From: John Fastabend <[email protected]>
Date: Tue, 03 Sep 2019 13:24:50 -0700
> sock_map and ULP only work together when ULP is loaded after the sock
> map is loaded. In the sock_map case we added a check for this to fail
> the load if ULP is already set. However, we missed the check on the
> sock_hash side.
>
> Add a ULP check to the sock_hash update path.
>
> Fixes: 604326b41a6fb ("bpf, sockmap: convert to generic sk_msg interface")
> Reported-by: [email protected]
> Signed-off-by: John Fastabend <[email protected]>
Applied and queued up for -stable, thanks.