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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55ACA184.1020007@6wind.com>
Date:	Mon, 20 Jul 2015 09:21:40 +0200
From:	Nicolas Dichtel <nicolas.dichtel@...nd.com>
To:	sfeldma@...il.com, netdev@...r.kernel.org
CC:	jiri@...nulli.us, roopa@...ulusnetworks.com,
	simon.horman@...ronome.com
Subject: Re: [PATCH net-next v3 1/5] net: don't reforward packets already
 forwarded by offload device

Le 19/07/2015 03:24, sfeldma@...il.com a écrit :
> From: Scott Feldman <sfeldma@...il.com>
>
> Just before queuing skb for xmit on port, check if skb has been marked by
> switchdev port driver as already fordwarded by device.  If so, drop skb.  A
> non-zero skb->offload_fwd_mark field is set by the switchdev port
> driver/device on ingress to indicate the skb has already been forwarded by
> the device to egress ports with matching dev->skb_mark.  The switchdev port
> driver would assign a non-zero dev->offload_skb_mark for each device port
> netdev during registration, for example.
>
> Signed-off-by: Scott Feldman <sfeldma@...il.com>
> Acked-by: Jiri Pirko <jiri@...nulli.us>
> Acked-by: Roopa Prabhu <roopa@...ulusnetworks.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ