OSDN Git Service

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)
commit2bcd350285ecbe442d5a1a27c04bd265baf992bb
treebc2af98abab2084854244d25f925484390b038ad
parentf7fb92acd9e5606f6666bb0f9a7240002a6b3ff0
parent900575aa33a3eaaef802b31de187a85c4a4b4bd0
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>