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
ofproto: Maximum value of "int" is INT_MAX, not UINT32_MAX.
[sliver-openvswitch.git]
/
ofproto
/
ofproto.c
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
0f4ba68
..
83dc99d
100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-3702,7
+3702,7
@@
send_packet_in_miss(struct ofpbuf *packet, void *p_)
? pktbuf_get_null()
: pktbuf_save(pb, &payload, msg->port));
int send_len = (buffer_id != UINT32_MAX ? ofconn->miss_send_len
- :
UINT32
_MAX);
+ :
INT
_MAX);
do_send_packet_in(ofconn, buffer_id, packet, send_len);
}
}