diff options
| author | Clément Chigot <clement.chigot@atos.net> | 2019-03-05 16:05:07 +0100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-03-05 15:11:20 +0000 |
| commit | b3fac018f15e653ed69f19f4c85c811ef2a62b9f (patch) | |
| tree | 4bba53815e8d4bc9320da716a5244e9a61303666 /src/encoding | |
| parent | 4c3f26076b6a9853bcc3c7d7e43726c044ac028a (diff) | |
| download | go-b3fac018f15e653ed69f19f4c85c811ef2a62b9f.tar.xz | |
net: fix fd leak with interfaces on aix/ppc64
To retrieve MTU on aix/ppc64, a socket must be created. Previously, this
socket was recreated for each interface and not close at all, causing a
fd leak on software using interface API.
Change-Id: Ib573e234bfce58964935831b68d007bfbd923476
Reviewed-on: https://go-review.googlesource.com/c/go/+/165397
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
