[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1358894653.12374.201.camel@edumazet-glaptop>
Date: Tue, 22 Jan 2013 14:44:13 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jesse Gross <jesse@...ira.com>
Cc: David Miller <davem@...emloft.net>, pshelar@...ira.com,
netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] IP_GRE: Linearize skb before csum.
On Tue, 2013-01-22 at 14:38 -0800, Jesse Gross wrote:
>
> We're currently enforcing this assumption in the rest of the network
> stack - it's why we mask out scatter/gather capability in the NIC if
> it isn't capable of checksumming the packet.
>
> Packets with asynchronous changes may come from VMs, so it isn't
> necessarily reasonable to tell people that they need to disable
> offloads with certain use cases.
>
> As Pravin said, pushing down the GSO to the lowest layer is the best
> way to solve the problem. However, I would argue that the current
> behavior is not correct.
You do understand this problem is generic to GSO ?
You basically are saying GSO should be removed.
If you really care, please find another way to address the problem.
Frames build by tcp_sendmsg() are fine : their content cannot be changed
by the user.
--
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