~xnox/ubuntu-z-systems/+git/ovs:ovn-ddlog-patches

Last commit made on 2019-10-03
Get this branch:
git clone -b ovn-ddlog-patches https://git.launchpad.net/~xnox/ubuntu-z-systems/+git/ovs

Branch merges

Branch information

Name:
ovn-ddlog-patches
Repository:
lp:~xnox/ubuntu-z-systems/+git/ovs

Recent commits

0ea07c1... by Justin Pettit

Export 'count_1bits' function needed by ddlog.

af18834... by Leonid Ryzhyk <email address hidden>

Export two functions from `packets.h`

Export `in6_addr_solicited_node()` and `in6_generate_eui64()` for use by DDlog.

8591957... by Leonid Ryzhyk <email address hidden>

Export `eth_addr_mark_random()` from `packets.c`

This function is used by DDlog

39b03bc... by Leonid Ryzhyk <email address hidden>

export several functions from `packet.h` needed by ddlog

Make the following functions non-static and move their implementation to
packets.c

- eth_addr_to_uint64
- eth_addr_from_uint64
- in6_generate_eui64
- in6_is_lla

9141ab4... by Leonid Ryzhyk <email address hidden>

packets: Make in6_generate_lla() no longer inline.

This is needed by ddlog, but it can't handle inline functions.

515d24f... by Justin Pettit

jsonrpc: Add jsonrpc_session_send_block().

1bbc32d... by damjan.skvarc@gmail.com

vlog: fix memory leak in vlog_set_log_file() function

memory leak happens in case previously closed log file was reopened again,
for example:

ovs-appctl vlog/close
ovs-appctl vlog/reopen

memory leak is reported by valgrind in a form:

==4463== 76 bytes in 1 blocks are definitely lost in loss record 322 of 344
==4463== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4463== by 0x534314: xmalloc (util.c:138)
==4463== by 0x534384: xmemdup0 (util.c:168)
==4463== by 0x53ACB9: vlog_set_log_file (vlog.c:403)
==4463== by 0x53AEDC: vlog_reopen_log_file (vlog.c:434)
==4463== by 0x53AF22: vlog_unixctl_reopen (vlog.c:683)
==4463== by 0x533730: process_command (unixctl.c:308)
==4463== by 0x533730: run_connection (unixctl.c:342)
==4463== by 0x533730: unixctl_server_run (unixctl.c:393)
==4463== by 0x4073AE: main (ovs-vswitchd.c:128)

Signed-off-by: Damijan Skvarc <email address hidden>
Signed-off-by: Ben Pfaff <email address hidden>

e7ea37a... by damjan.skvarc@gmail.com

ovsdb-client: fix memory leak to prevent valgrind reporting memory leaks while running test suite

memory leaks are reported in several tests and are expressed in a following way:

==29840== 208 (48 direct, 160 indirect) bytes in 1 blocks are definitely lost in
 loss record 43 of 44
==29840== at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64
-linux.so)
==29840== by 0x449D12: xcalloc (util.c:121)
==29840== by 0x432949: jsonrpc_msg_from_json (jsonrpc.c:697)
==29840== by 0x432A8F: jsonrpc_parse_received_message (jsonrpc.c:472)
==29840== by 0x432A8F: jsonrpc_recv.part.7 (jsonrpc.c:338)
==29840== by 0x4338F7: jsonrpc_recv (jsonrpc.c:1139)
==29840== by 0x4338F7: jsonrpc_session_recv (jsonrpc.c:1112)
==29840== by 0x40719B: do_wait (ovsdb-client.c:2463)
==29840== by 0x405F76: main (ovsdb-client.c:282)

Signed-off-by: Damijan Skvarc <email address hidden>
Signed-off-by: Ben Pfaff <email address hidden>

285de6b... by martin

odp-util: calc checksum of ip hdr for tunnel encap

Signed-off-by: Martin Zhang <email address hidden>
Signed-off-by: Ben Pfaff <email address hidden>

eedd4fd... by Ben Pfaff <email address hidden>

Documentation: Document a useful pre-push hook for committers.

Someone else wrote this script originally, I think, but I've extended
it quite a bit.

Reviewed-by: Simon Horman <email address hidden>
Signed-off-by: Ben Pfaff <email address hidden>