Messages in this thread | | | Date | Wed, 18 May 2022 10:12:38 +0200 | From | Steffen Klassert <> | Subject | Re: [PATCH] net: af_key: add check for pfkey_broadcast in function pfkey_process |
| |
On Tue, May 17, 2022 at 05:42:31PM +0800, Jiasheng Jiang wrote: > If skb_clone() returns null pointer, pfkey_broadcast() will > return error. > Therefore, it should be better to check the return value of > pfkey_broadcast() and return error if fails. > > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") > Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Applied, thanks!
| |