On Fri, May 23, 2014 at 7:42 PM, Simon Horman [off-list ref] wrote:
If an MPLS packet requires segmentation then use mpls_features
to determine if the software implementation should be used.
As no driver advertises MPLS GSO segmentation this will always be
the case.
I had not noticed that this was necessary before as software MPLS GSO
segmentation was already being used in my test environment. I believe that
the reason for that is the skbs in question always had fragments and the
driver I used does not advertise NETIF_F_FRAGLIST (which seems to be the
case for most drivers). Thus Thus software segmentation was activated by
skb_gso_ok().
Thanks to Jesse Gross for prompting me to investigate this.
Cc: Jesse Gross <redacted>
Signed-off-by: Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
Acked-by: Jesse Gross <redacted>