Re: [PATCH] net/bluetooth/hci_sock.c: add CAP_NET_RAW check.

From: Jesse Brandeburg
Date: Tue Aug 18 2020 - 14:26:09 EST


On Tue, 18 Aug 2020 15:56:48 +0800
Qingyu Li <ieatmuttonchuan@xxxxxxxxx> wrote:

> When creating a raw PF_BLUETOOTH socket,
> CAP_NET_RAW needs to be checked first.
>

Thanks for the patch! Your subject doesn't need to end in a period. In
your commit message, I can guess why you'd want this patch, but your
commit message should include more info about why the kernel wants this
patch included. Especially since this is a user visible change and
likely a fix of a bug. Please review:
https://www.kernel.org/doc/html/latest/networking/netdev-FAQ.html
specifically:
https://www.kernel.org/doc/html/latest/networking/netdev-FAQ.html#q-any-other-tips-to-help-ensure-my-net-net-next-patch-gets-ok-d

This looks like a fix, please add a Fixes tag.