Re: [net PATCH] net: sock_map, fix missing ulp check in sock hash case

2019-09-05 Thread David Miller
From: John Fastabend 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. > > A

[net PATCH] net: sock_map, fix missing ulp check in sock hash case

2019-09-03 Thread John Fastabend
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,