summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorZhouyang Jia <jiazhouyang09@gmail.com>2018-06-11 13:26:35 +0800
committerDavid S. Miller <davem@davemloft.net>2018-06-11 14:19:38 -0700
commit349b71d6f427ff8211adf50839dbbff3f27c1805 (patch)
tree24010909255d60d05630e0fa5c949c5d628ebd63 /net/ipv6
parent0975764684487bf3f7a47eef009e750ea41bd514 (diff)
downloadtalos-obmc-linux-349b71d6f427ff8211adf50839dbbff3f27c1805.tar.gz
talos-obmc-linux-349b71d6f427ff8211adf50839dbbff3f27c1805.zip
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 <jiazhouyang09@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud