git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Increase maximum number of datapath ports.
[sliver-openvswitch.git]
/
datapath
/
dp_sysfs_if.c
diff --git
a/datapath/dp_sysfs_if.c
b/datapath/dp_sysfs_if.c
index
f564e98
..
436ee49
100644
(file)
--- a/
datapath/dp_sysfs_if.c
+++ b/
datapath/dp_sysfs_if.c
@@
-209,7
+209,7
@@
struct sysfs_ops ovs_brport_sysfs_ops = {
int ovs_dp_sysfs_add_if(struct vport *p)
{
struct datapath *dp = p->dp;
- struct vport *local_port =
rtnl_dereference(dp->ports[OVSP_LOCAL]
);
+ struct vport *local_port =
ovs_vport_rtnl(dp, OVSP_LOCAL
);
struct brport_attribute **a;
int err;