Re: [ovs-dev] [PATCH] netdev-dummy: Remove wrong netdev_close

2017-11-02 Thread Ben Pfaff
On Thu, Nov 02, 2017 at 06:42:22AM -0700, Yifeng Sun wrote: > netdev_dummy_ip6addr() calls netdev_close() twice though it increases > netdev's reference only once from netdev_from_name(). As a result, Valgrind > test 788 (tunnel_push_pop - action) reports the error below: Thanks a lot! I applie

[ovs-dev] [PATCH] netdev-dummy: Remove wrong netdev_close

2017-11-02 Thread Yifeng Sun
netdev_dummy_ip6addr() calls netdev_close() twice though it increases netdev's reference only once from netdev_from_name(). As a result, Valgrind test 788 (tunnel_push_pop - action) reports the error below: ==20465== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Invalid read of