From 41092de3d14e68b7cb0134e9be68a48ed64d79da Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 20 Sep 2010 08:41:47 +0000 Subject: [PATCH] --- yaml --- r: 214582 b: refs/heads/master c: c22ab7816fd81efceefa96b00c4ad62cf657964b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/ethtool.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 7d4f904476d0..9b536119643e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: daebbca3ab41031666ee27f991b223d2bc0415e9 +refs/heads/master: c22ab7816fd81efceefa96b00c4ad62cf657964b diff --git a/trunk/include/linux/ethtool.h b/trunk/include/linux/ethtool.h index b67af60a8890..3350870001fe 100644 --- a/trunk/include/linux/ethtool.h +++ b/trunk/include/linux/ethtool.h @@ -492,11 +492,12 @@ struct ethtool_rx_ntuple_flow_spec { __u64 data_mask; __s32 action; -#define ETHTOOL_RXNTUPLE_ACTION_DROP -1 /* drop packet */ +#define ETHTOOL_RXNTUPLE_ACTION_DROP (-1) /* drop packet */ +#define ETHTOOL_RXNTUPLE_ACTION_CLEAR (-2) /* clear filter */ }; /** - * struct ethtool_rx_ntuple - command to set RX flow filter + * struct ethtool_rx_ntuple - command to set or clear RX flow filter * @cmd: Command number - %ETHTOOL_SRXNTUPLE * @fs: Flow filter specification */