]> 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)
commitca45c9e41df8962d07d3af818016aaab082a8fe9
treebc2af98abab2084854244d25f925484390b038ad
parentb63c00e4f60b73aa03fe932ba3b1b450036b387d
parenteb453e387def13a8e93e6eeec110492b6e9dc7d2
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>