Slave controllers are rejected for flow and port mod messages, so they should also be rejected for bundles (that require support at least for flow and port mod messages).
Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com> --- ofproto/ofproto.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 1485fb4..44d36d5 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -6126,6 +6126,11 @@ handle_bundle_control(struct ofconn *ofconn, const struct ofp_header *oh) struct ofpbuf *buf; struct ofputil_bundle_ctrl_msg reply; + error = reject_slave_controller(ofconn); + if (error) { + return error; + } + error = ofputil_decode_bundle_ctrl(oh, &bctrl); if (error) { return error; @@ -6173,6 +6178,11 @@ handle_bundle_add(struct ofconn *ofconn, const struct ofp_header *oh) enum ofperr error; struct ofputil_bundle_add_msg badd; + error = reject_slave_controller(ofconn); + if (error) { + return error; + } + error = ofputil_decode_bundle_add(oh, &badd); if (error) { return error; -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev