projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: nf_tables: bail out early if hardware offload is not supported
[linux-2.6-microblaze.git]
/
net
/
core
/
flow_offload.c
diff --git
a/net/core/flow_offload.c
b/net/core/flow_offload.c
index
73f68d4
..
929f637
100644
(file)
--- a/
net/core/flow_offload.c
+++ b/
net/core/flow_offload.c
@@
-595,3
+595,9
@@
int flow_indr_dev_setup_offload(struct net_device *dev, struct Qdisc *sch,
return (bo && list_empty(&bo->cb_list)) ? -EOPNOTSUPP : count;
}
EXPORT_SYMBOL(flow_indr_dev_setup_offload);
+
+bool flow_indr_dev_exists(void)
+{
+ return !list_empty(&flow_block_indr_dev_list);
+}
+EXPORT_SYMBOL(flow_indr_dev_exists);