lkml.org 
[lkml]   [2020]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: hsr: check for return value of skb_put_padto()
From
From: Murali Karicheri <m-karicheri2@ti.com>
Date: Mon, 20 Jul 2020 12:43:27 -0400

> skb_put_padto() can fail. So check for return type and return NULL
> for skb. Caller checks for skb and acts correctly if it is NULL.
>
> Fixes: 6d6148bc78d2 ("net: hsr: fix incorrect lsdu size in the tag of HSR frames for small frames")
>
> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>

Applied, thank you.

\
 
 \ /
  Last update: 2020-07-21 03:04    [W:0.034 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site