On Wed, May 21, 2025 at 6:34 AM Bert Karwatzki <spasswolf@xxxxxx> wrote: > > Checking the SOCK_WIFI_STATUS flag bit in sk_flags, may give a wrong result > since sk_flags are part of a union and the union is used otherwise. Add > a sk_requests_wifi_status() which checks if sk is non-NULL, sk is a full socket > and checks the flag bit. > > Fixes: 76a853f86c97 ("wifi: free SKBTX_WIFI_STATUS skb tx_flags flag") > Idea-by: Johannes Berg <johannes.berg@xxxxxxxxx> > Signed-off-by: Bert Karwatzki <spasswolf@xxxxxx> Since Johannes will modify it manually, so... Reviewed-by: Jason Xing <kerneljasonxing@xxxxxxxxx> Thanks, Jason