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
Get rid of OFP_MAXLEN.
[sliver-openvswitch.git]
/
lib
/
dpif.c
diff --git
a/lib/dpif.c
b/lib/dpif.c
index
4f99312
..
4a60334
100644
(file)
--- a/
lib/dpif.c
+++ b/
lib/dpif.c
@@
-111,7
+111,7
@@
static const struct nl_policy openflow_policy[] = {
[DP_GENL_A_DP_IDX] = { .type = NL_A_U32 },
[DP_GENL_A_OPENFLOW] = { .type = NL_A_UNSPEC,
.min_len = sizeof(struct ofp_header),
- .max_len =
OFP_MAXLEN
},
+ .max_len =
65535
},
};
/* Tries to receive an openflow message from the kernel on 'sock'. If