diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-02-11 13:16:28 -0800 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-02-11 13:48:24 -0800 |
| commit | 0b8b6f71d5621a726a3bf5aa1bbee27ed1f4a8fe (patch) | |
| tree | c57e0b119100f7ac67f5bf803a5fa5116ea9a691 /datapath/brcompat.c | |
| parent | 27f5b7720ab3994f71c0aa53caf1a2682f0462fe (diff) | |
| download | openvswitch-0b8b6f71d5621a726a3bf5aa1bbee27ed1f4a8fe.tar.gz | |
Remove /proc/net compatibility support.
This feature was included only to allow Citrix QA to run some tests that
interacted directly with the bridge. This feature hasn't been turned on
for some time, so it should not be necessary any longer.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath/brcompat.c')
| -rw-r--r-- | datapath/brcompat.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/datapath/brcompat.c b/datapath/brcompat.c index 3e91dc5d4..f9d008399 100644 --- a/datapath/brcompat.c +++ b/datapath/brcompat.c @@ -18,7 +18,6 @@ #include <net/genetlink.h> #include "openvswitch/brcompat-netlink.h" -#include "brc_procfs.h" #include "datapath.h" static struct genl_family brc_genl_family; @@ -399,15 +398,6 @@ nla_put_failure: /* Attribute policy: what each attribute may contain. */ static struct nla_policy brc_genl_policy[BRC_GENL_A_MAX + 1] = { [BRC_GENL_A_ERR_CODE] = { .type = NLA_U32 }, - -#ifdef HAVE_NLA_NUL_STRING - [BRC_GENL_A_PROC_DIR] = { .type = NLA_NUL_STRING, - .len = BRC_NAME_LEN_MAX }, - [BRC_GENL_A_PROC_NAME] = { .type = NLA_NUL_STRING, - .len = BRC_NAME_LEN_MAX }, - [BRC_GENL_A_PROC_DATA] = { .type = NLA_NUL_STRING }, -#endif - [BRC_GENL_A_FDB_DATA] = { .type = NLA_UNSPEC }, }; @@ -452,11 +442,6 @@ static struct genl_ops brc_genl_ops[] = { .policy = brc_genl_policy, .doit = brc_genl_dp_result, }, - { .cmd = BRC_GENL_C_SET_PROC, - .flags = GENL_ADMIN_PERM, /* Requires CAP_NET_ADMIN privelege. */ - .policy = brc_genl_policy, - .doit = brc_genl_set_proc, - }, }; static struct sk_buff *brc_send_command(struct sk_buff *request, @@ -555,7 +540,6 @@ static void brc_cleanup(void) brioctl_set(NULL); genl_unregister_family(&brc_genl_family); - brc_procfs_exit(); } module_init(brc_init); |
