[ovs-dev] [PATCH] ovn-detrace: Add ovn-detrace to fedora rpm package.

2017-04-23 Thread Guoshuai Li
Otherwise, through the "make rpm-fedora" build fedora package will be error: error: Installed (but unpackaged) file(s) found: /usr/bin/ovn-detrace /usr/share/man/man1/ovn-detrace.1.gz Signed-off-by: Guoshuai Li --- rhel/openvswitch-fedora.spec.in | 2 ++ 1 file changed,

Re: [ovs-dev] OVS installation issue with NSH patch

2017-04-23 Thread Kiruthiga R
Hi, Please find the attachment. Regards, Kiruthiga -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Friday, April 21, 2017 9:35 PM To: Kiruthiga R Cc: ovs-dev@openvswitch.org Subject: Re: [ovs-dev] OVS installation issue with NSH patch On Fri,

Re: [ovs-dev] [PATCH] ovn.at: Fix "ovn -- 1 LR with distributed router gateway port" test

2017-04-23 Thread Mickey Spiegel
On Thu, Apr 20, 2017 at 6:32 PM, YAMAMOTO Takashi wrote: > NetBSD implementation of wc command outputs extra whitespaces > like the following. Tweak the test to success on such environments. > > % echo hoge|wc -l|hexdump -C > 20 20 20 20 20 20 20 31 0a

Re: [ovs-dev] [PATCH 1/1] openvswitch: check return value of nla_nest_start

2017-04-23 Thread Pravin Shelar
On Sat, Apr 22, 2017 at 11:43 PM, Pan Bian wrote: > Function nla_nest_start() will return a NULL pointer on error, and its > return value should be validated before it is used. However, in function > queue_userspace_packet(), its return value is ignored. This may result > in

Re: [ovs-dev] [PATCH 2/8] learn: Fix memory leak in learn_parse_sepc()

2017-04-23 Thread Yi-Hung Wei
On Sun, Apr 23, 2017 at 9:56 AM, Ben Pfaff wrote: > On Fri, Apr 07, 2017 at 02:43:40PM -0700, Yi-Hung Wei wrote: >> In testcase "ofproto-dpif - fragment handling - actions", valgrind reports >> memeory leaks with the following call stack. >> xmalloc (util.c:112) >>

Re: [ovs-dev] Grant Notice

2017-04-23 Thread Seybold, Pat (BHDID/Frankfort)
Donation given to you by Julie. reply for more info, send email to jleach978@gmail ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH 2/8] learn: Fix memory leak in learn_parse_sepc()

2017-04-23 Thread Ben Pfaff
On Fri, Apr 07, 2017 at 02:43:40PM -0700, Yi-Hung Wei wrote: > In testcase "ofproto-dpif - fragment handling - actions", valgrind reports > memeory leaks with the following call stack. > xmalloc (util.c:112) > xvasprintf (util.c:176) > xasprintf (util.c:272) > mf_parse_subfield__

Re: [ovs-dev] [PATCH 1/8] ofproto: Fix memory leak in handle_tlv_table_mod()

2017-04-23 Thread Ben Pfaff
On Fri, Apr 07, 2017 at 02:43:39PM -0700, Yi-Hung Wei wrote: > In testcase "tunnel - Geneve metadata", valgrind reports a memory leak with > the following call stack. > xcalloc (util.c:95) > tun_metadata_alloc (tun-metadata.c:89) > tun_metadata_table_mod (tun-metadata.c:175) >

[ovs-dev] [RFC PATCH] netdev-dpdk: Add Tx intermediate queue for vhost ports.

2017-04-23 Thread Bhanuprakash Bodireddy
This commit adds the intermediate queue for vHost-user ports. It improves the throughput in multiple virtual machines deployments and also in cases with VM doing packet forwarding in kernel stack. This patch is aligned with intermediate queue implementation for dpdk ports that can be found here:

[ovs-dev] [RFC v0 4/4] fedora: allow dpdk to also run as non-root user

2017-04-23 Thread Aaron Conole
After this commit, users may start a dpdk-enabled ovs setup as a non-root user. This is accomplished by exporting the $HOME directory, which dpdk uses to fill in it's semi-persistent RTE configuration. This change may be a bit controversial since it modifies /dev/hugepages as part of starting

[ovs-dev] [RFC v0 3/4] fedora: Also include the db lockfile

2017-04-23 Thread Aaron Conole
Currently, the db lockfile will cause the openvswitch directory to linger after uninstall because the rpm database isn't aware that it should be treated as part of the system. This commit informs the rpmdb properly as a 'ghost' so that when the package is uninstalled, it will be removed

[ovs-dev] [RFC v0 1/4] rhel: allow arbitrary user:group

2017-04-23 Thread Aaron Conole
Under rpm based distributions, the only user:group that the rhel daemons run as is 'root:root'. This is fine as a default, but as part of a security procedure, users may want to run as an alternate uid/gid. This commit adds an OVS_USER_ID environment variable for systemd, which defaults to

[ovs-dev] [RFC v0 0/4] rhel/fedora: non-root OvS out of the box

2017-04-23 Thread Aaron Conole
This series attempts to introduce the ability to start and use Open vSwitch 'out of the box' as a non-root user. It does this by modifying the service files to pass the recently introduced --ovs-user argument around, and by making some minor tweaks to the passwd, group, and filesystem

[ovs-dev] [PATCH 1/1] openvswitch: check return value of nla_nest_start

2017-04-23 Thread Pan Bian
Function nla_nest_start() will return a NULL pointer on error, and its return value should be validated before it is used. However, in function queue_userspace_packet(), its return value is ignored. This may result in NULL dereference when calling nla_nest_end(). This patch fixes the bug.