]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'wg-fixes'
authorDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 21:50:34 +0000 (14:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 21:50:34 +0000 (14:50 -0700)
commitc8a8d6644d898fe6429d57ff3aac87110515b713
treebc2af98abab2084854244d25f925484390b038ad
parentce8bd132333dd282f80d828884b7be868d235afc
parentdcf8a879899e50ce555ab5e447a2fc44519e9625
Merge branch 'wg-fixes'

Jason A. Donenfeld says:

====================
wireguard fixes for 5.8-rc3

This series contains two fixes, one cosmetic and one quite important:

1) Avoid the `if ((x = f()) == y)` pattern, from Frank
   Werner-Krippendorf.

2) Mitigate a potential memory leak by creating circular netns
   references, while also making the netns semantics a bit more
   robust.

Patch (2) has a "Fixes:" line and should be backported to stable.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>