[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141020.140409.651849137033134113.davem@davemloft.net>
Date: Mon, 20 Oct 2014 14:04:09 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: fw@...len.de
Cc: netdev@...r.kernel.org, edumazet@...gle.com, therbert@...gle.com
Subject: Re: [PATCH v2 0/3] net: minor gso encapsulation fixes
From: Florian Westphal <fw@...len.de>
Date: Mon, 20 Oct 2014 13:49:15 +0200
> 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.
Series applied, thanks Florian.
Longer term I'd really like to see the ops->gso_segment() implementations not
return NULL, but rather locally determinned pointer error codes instead.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists