[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200720.180257.1845619055500130322.davem@davemloft.net>
Date: Mon, 20 Jul 2020 18:02:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: m-karicheri2@...com
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: hsr: check for return value of skb_put_padto()
From: Murali Karicheri <m-karicheri2@...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@...com>
Applied, thank you.
Powered by blists - more mailing lists