diff options
author | Zhouyang Jia <[email protected]> | 2018-06-11 13:26:35 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-06-11 14:19:38 -0700 |
commit | 349b71d6f427ff8211adf50839dbbff3f27c1805 (patch) | |
tree | 24010909255d60d05630e0fa5c949c5d628ebd63 /include/linux/fpga/fpga-mgr.h | |
parent | 0975764684487bf3f7a47eef009e750ea41bd514 (diff) |
net: dsa: add error handling for pskb_trim_rcsum
When pskb_trim_rcsum fails, the lack of error-handling code may
cause unexpected results.
This patch adds error-handling code after calling pskb_trim_rcsum.
Signed-off-by: Zhouyang Jia <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions