X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdpif.c;h=da06f166632457d63543b976c02e58430fe39a25;hb=6ef891ae6b23247b4e9dc86f560e92f245b076b8;hp=b7b29d96e7c5ea4f59887413997c9eefefb62200;hpb=5549180a542fa7aa17a196d55b2f5eb4cbb3159a;p=sliver-openvswitch.git diff --git a/lib/dpif.c b/lib/dpif.c index b7b29d96e..da06f1666 100644 --- a/lib/dpif.c +++ b/lib/dpif.c @@ -44,7 +44,6 @@ #include "netlink.h" #include "netlink-protocol.h" #include "ofpbuf.h" -#include "ofp-print.h" #include "openflow-netlink.h" #include "openflow.h" #include "packets.h" @@ -111,7 +110,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