Messages in this thread | | | Date | Mon, 20 Jul 2020 18:02:57 -0700 (PDT) | Subject | Re: [PATCH] net: hsr: check for return value of skb_put_padto() | From | David Miller <> |
| |
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.
| |