summaryrefslogtreecommitdiff
path: root/tools/vm
diff options
context:
space:
mode:
authorMurali Karicheri <m-karicheri2@ti.com>2020-07-20 19:43:27 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-21 04:02:28 +0300
commit5d93518e06b2102253d465e523f16bd4cb5ce859 (patch)
treef043e7a08fe479c909efcaf4c1485a5a15ed9b56 /tools/vm
parent34b85adad831547cdd349ce9a05bbe751f9f4d46 (diff)
downloadlinux-5d93518e06b2102253d465e523f16bd4cb5ce859.tar.xz
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>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions