Fw: [PATCH] netlabel: Fix NULL pointer exception caused by CALIPSO on IPv4 sockets

From: mowenroot@xxxxxxx
Date: Wed Mar 26 2025 - 23:05:47 EST


On Thu, Mar 27, 2025 at 3:38 AM Paul Moore paul@xxxxxxxxxxxxxx wrote:

> For all three function, I'd probably add a single blank line between the local variable declarations and the code below for the sake of readability. I'd probably also drop the comment as the code seems reasonably obvious (inet6_sk() can return NULL, we can't do anything with a NULL ptr so bail), but neither are reasons for not applying this patch, if anything they can be fixed up during the merge assuming the patch author agrees.
>
> Anyway, this looks good to me, Jakub and/or other netdev folks, we should get this marked for stable and sent up to Linus, do you want to do that or should I?

Thank you for your acknowledgment and suggestions! Your insights have been very helpful to us.

We fully agree with your suggestions regarding code formatting and comment adjustments. Since you are more familiar with the code, we would appreciate it if you could help handle these modifications and complete the merge. If you are willing to do so, we would be very grateful!

Previously, the email failed to be delivered to netdev@xxxxxxxxxxxxxxx and linux-kernel@xxxxxxxxxxxxxxx due to formatting issues. We sincerely apologize for any inconvenience this may have caused.

Thank you again for your guidance and support. We are delighted to learn from you!

Thanks again.
Debin Zhu & Bitao Ouyang