-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: hsr: check for return value of skb_put_padto()
commit 7dd020835e308be7565d67d4eaa2570915b3774b from git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git Currently at couple of places, return value of skb_put_padto() is not checked. This can cause problem as skb_put_padto() would free skb on error. So add a check for return value and handle the code properly when skb is de-allocated. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
- Loading branch information
Showing
1 changed file
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters