aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorMurali Karicheri <[email protected]>2020-07-20 12:43:27 -0400
committerDavid S. Miller <[email protected]>2020-07-20 18:02:28 -0700
commit5d93518e06b2102253d465e523f16bd4cb5ce859 (patch)
treef043e7a08fe479c909efcaf4c1485a5a15ed9b56 /lib/mpi/mpi-bit.c
parent34b85adad831547cdd349ce9a05bbe751f9f4d46 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions