From: David S. Miller Date: Mon, 20 Oct 2014 16:38:19 +0000 (-0400) Subject: Merge branch 'gso_encap_fixes' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d10845fc85b2e690b5f6425c5ba4df33a073fbc9;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Merge branch 'gso_encap_fixes' Florian Westphal says: ==================== net: minor gso encapsulation fixes The following series fixes a minor bug in the gso segmentation handlers when encapsulation offload is used. Theoretically this could cause kernel panic when the stack tries to software-segment such a GRE offload packet, but it looks like there is only one affected call site (tbf scheduler) and it handles NULL return value. I've included a followup patch to add IS_ERR_OR_NULL checks where needed. While looking into this, I also found that size computation of the individual segments is incorrect if skb->encapsulation is set. Please see individual patches for delta vs. v1. ==================== Signed-off-by: David S. Miller --- d10845fc85b2e690b5f6425c5ba4df33a073fbc9