Skip to content
Commit 349b71d6 authored by Zhouyang Jia's avatar Zhouyang Jia Committed by David S. Miller
Browse files

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: default avatarZhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 09757646
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment