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: <20110307083607.3299ed0c@nehalam>
Date:	Mon, 7 Mar 2011 08:36:07 -0800
From:	Stephen Hemminger <shemminger@...tta.com>
To:	Nicolas de Pesloüan 
	<nicolas.2p.debian@...e.fr>
Cc:	netdev@...r.kernel.org, davem@...emloft.net,
	eric.dumazet@...il.com, kaber@...sh.net, fubar@...ibm.com,
	andy@...yhouse.net
Subject: Re: [PATCH net-next-2.6] net: enhance the documentation for
 rx_handler.

On Sun,  6 Mar 2011 21:00:08 +0100
Nicolas de Pesloüan <nicolas.2p.debian@...e.fr> wrote:

> Signed-off-by: Nicolas de Pesloüan <nicolas.2p.debian@...e.fr>
> ---
> This apply on top of Jiri's last patch serie, including the last one that
> commented the RX_HANDLER_* values.
> 
>  include/linux/netdevice.h |   53 ++++++++++++++++++++++++++++++++++++++------
>  net/core/dev.c            |    2 +
>  2 files changed, 47 insertions(+), 8 deletions(-)
> 
> diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
> index 26e03f9..0c9dc93 100644
> --- a/include/linux/netdevice.h
> +++ b/include/linux/netdevice.h
> @@ -390,15 +390,52 @@ enum gro_result {
>  };
>  typedef enum gro_result gro_result_t;
>  
> +/**
> + * enum rx_handler_result - Possible return values for rx_handlers.
> + * @RX_HANDLER_CONSUMED: skb was consumed by rx_handler, do not process it
> + * further.
> + * @RX_HANDLER_ANOTHER: Do another round in receive path. This is indicated in
> + * case skb->dev was changed by rx_handler.
> + * @RX_HANDLER_EXACT: Force exact delivery, no wildcard.
> + * @RX_HANDLER_PASS: Do nothing, passe the skb as if no rx_handler was called.

s/passe/process/
--
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