aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/flow.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-03-01 14:22:19 -0800
committerDavid S. Miller <davem@davemloft.net>2011-03-01 14:22:19 -0800
commit5df65e5567a497a28067019b8ff08f98fb026629 (patch)
tree776a8a2cfa2cf5962ea0d53dea8c6c8360a0c58d /include/net/flow.h
parentipv4: Make final arg to ip_route_output_flow to be boolean "can_sleep" (diff)
downloadlinux-dev-5df65e5567a497a28067019b8ff08f98fb026629.tar.xz
linux-dev-5df65e5567a497a28067019b8ff08f98fb026629.zip
net: Add FLOWI_FLAG_CAN_SLEEP.
And set is in contexts where the route resolution can sleep. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flow.h')
-rw-r--r--include/net/flow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/flow.h b/include/net/flow.h
index f2080e65276d..fd0413873b8e 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -50,6 +50,7 @@ struct flowi {
__u8 flags;
#define FLOWI_FLAG_ANYSRC 0x01
#define FLOWI_FLAG_PRECOW_METRICS 0x02
+#define FLOWI_FLAG_CAN_SLEEP 0x04
union {
struct {
__be16 sport;