lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 7 Feb 2013 16:20:46 +0000 From: Ben Hutchings <bhutchings@...arflare.com> To: Eric Dumazet <eric.dumazet@...il.com> CC: "Michael S. Tsirkin" <mst@...hat.com>, <netdev@...r.kernel.org>, Eilon Greenstein <eilong@...adcom.com>, Jeff Kirsher <jeffrey.t.kirsher@...el.com>, Jesse Brandeburg <jesse.brandeburg@...el.com>, Bruce Allan <bruce.w.allan@...el.com>, Carolyn Wyborny <carolyn.wyborny@...el.com>, Don Skidmore <donald.c.skidmore@...el.com>, Greg Rose <gregory.v.rose@...el.com>, Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@...el.com>, Alex Duyck <alexander.h.duyck@...el.com>, John Ronciak <john.ronciak@...el.com>, Tushar Dave <tushar.n.dave@...el.com>, Jitendra Kalsaria <jitendra.kalsaria@...gic.com>, Sony Chacko <sony.chacko@...gic.com>, <linux-driver@...gic.com>, John Fastabend <john.r.fastabend@...el.com>, "David S. Miller" <davem@...emloft.net>, Jacob Keller <jacob.e.keller@...el.com>, <linux-kernel@...r.kernel.org>, <e1000-devel@...ts.sourceforge.net> Subject: Re: [PATCH 0/2] fix kernel crash with macvtap on top of LRO On Wed, 2013-02-06 at 19:18 -0800, Eric Dumazet wrote: > On Wed, 2013-02-06 at 23:34 +0000, Ben Hutchings wrote: > > > If we want to allow forwarding from LRO then net/ipv4/inet_lro.c also > > needs to set gso_type. > > Then, what is dev_disable_lro() purpose ? The purpose was to disable LRO when forwarding because they weren't compatible. If the consensus now is that the modifications made by LRO+TSO are acceptable in a bridge/router, then we should get rid of dev_disable_lro() and set both gso_size & gso_type on all LRO receive paths. If the consensus is still that we must preserve packets exactly (aside from the usual modifications by IP routers) then LRO should be disabled on all devices for which forwarding is enabled. (Also, we really ought to keep a count of the number of forwarders and use that in netdev_fix_features(), rather than doing a one-time disable.) Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists