Re: [ovs-dev] [PATCH] datapath: Support for Linux kernel 3.9.

2013-07-31 Thread Kyle Mestery (kmestery)
On Jul 31, 2013, at 3:41 PM, Jesse Gross wrote: > On Tue, Jul 30, 2013 at 7:17 PM, Kyle Mestery wrote: >> Ensure that in tunnel.c:handle_offloads() we save off skb->cb before >> calling __skb_gso_segment() and restore it after the return. >> >> Signed-off-by: Pravin B Shelar >> Signed-off-by: K

Re: [ovs-dev] [PATCH] datapath: Support for Linux kernel 3.9.

2013-07-31 Thread Jesse Gross
On Tue, Jul 30, 2013 at 7:17 PM, Kyle Mestery wrote: > Ensure that in tunnel.c:handle_offloads() we save off skb->cb before > calling __skb_gso_segment() and restore it after the return. > > Signed-off-by: Pravin B Shelar > Signed-off-by: Kyle Mestery Sorry, I realized that there is one more pl

[ovs-dev] [PATCH] datapath: Support for Linux kernel 3.9.

2013-07-30 Thread Kyle Mestery
Ensure that in tunnel.c:handle_offloads() we save off skb->cb before calling __skb_gso_segment() and restore it after the return. Signed-off-by: Pravin B Shelar Signed-off-by: Kyle Mestery --- Changes in v2: * No longer save skb->sb in vport_netdev.c:netdev_send(). --- datapath/datapath.c | 4 +

Re: [ovs-dev] [PATCH] datapath: Support for Linux kernel 3.9.

2013-07-30 Thread Kyle Mestery (kmestery)
On Jul 30, 2013, at 7:17 PM, Jesse Gross wrote: > On Fri, Jul 26, 2013 at 2:21 PM, Kyle Mestery wrote: >> Add support for Linux kernel 3.9. >> >> Signed-off-by: Kyle Mestery >> CC: Pravin B Shelar > > I think it's not strictly required to do the restoration here since > the only user of skb

Re: [ovs-dev] [PATCH] datapath: Support for Linux kernel 3.9.

2013-07-30 Thread Jesse Gross
On Fri, Jul 26, 2013 at 2:21 PM, Kyle Mestery wrote: > Add support for Linux kernel 3.9. > > Signed-off-by: Kyle Mestery > CC: Pravin B Shelar I think it's not strictly required to do the restoration here since the only user of skb->cb in this function block is vlans, which isn't a problem on t

[ovs-dev] [PATCH] datapath: Support for Linux kernel 3.9.

2013-07-26 Thread Kyle Mestery
Add support for Linux kernel 3.9. Signed-off-by: Kyle Mestery CC: Pravin B Shelar --- datapath/datapath.c | 4 ++-- datapath/vport-netdev.c | 7 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/datapath/datapath.c b/datapath/datapath.c index 4330ce3..e5e0616 100644 ---