On Tue, Nov 13, 2018 at 01:08:25AM +0800, Xin Long wrote: > This issue happens when trying to add an existent tunnel. It > doesn't call sock_put() before returning -EEXIST to release > the sock refcnt that was held by calling sock_hold() before > the existence check. > > This patch is to fix it by holding the sock after doing the > existence check. > Nice fix. Thanks Xin!
Reviewed-by: Guillaume Nault <g.na...@alphalink.fr>