[ovs-git] [openvswitch/ovs] 583d34: netdev-windows: fix ofpbuf initialization
GitHub
noreply at github.com
Fri Nov 4 15:08:44 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 583d34678d32482d616fe5bd7dc323f044788898
https://github.com/openvswitch/ovs/commit/583d34678d32482d616fe5bd7dc323f044788898
Author: Alin Serdean <aserdean at cloudbasesolutions.com>
Date: 2016-11-04 (Fri, 04 Nov 2016)
Changed paths:
M lib/netdev-windows.c
Log Message:
-----------
netdev-windows: fix ofpbuf initialization
ofpbuf_const_initializer takes only two parameters see:
https://github.com/openvswitch/ovs/blob/master/include/openvswitch/ofpbuf.h#L96
the compiler only gives the following warning:
lib/netdev-windows.c(229) : warning C4020: 'ofpbuf_const_initializer' :
too many actual parameters
which in result will put junk data into "ofpbuf b".
This patch fixes the initialization.
Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam at vmware.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>
Commit: fa41c89ced01580fc61356ee721e336c60266f4b
https://github.com/openvswitch/ovs/commit/fa41c89ced01580fc61356ee721e336c60266f4b
Author: Alin Serdean <aserdean at cloudbasesolutions.com>
Date: 2016-11-04 (Fri, 04 Nov 2016)
Changed paths:
M lib/netdev-windows.c
Log Message:
-----------
netdev-windows: use bitwise comparison for flags
Use bitwise comparison when checking flags set by the kernel for the
device.
Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam at vmware.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>
Compare: https://github.com/openvswitch/ovs/compare/8ebddc5ffd5f...fa41c89ced01
More information about the git
mailing list