Murali Karicheri 5d93518e06 net: hsr: check for return value of skb_put_padto()
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-20 18:02:28 -07:00
..
2020-07-08 08:27:56 +02:00
2019-09-26 08:56:17 +02:00
2020-07-01 15:49:11 -07:00
2020-07-20 17:52:25 -07:00
2020-05-29 13:10:39 -07:00