diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-11-07 20:14:43 +0900 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-11-10 16:20:09 +0900 |
commit | ab9befbe4118850bcd58b33064f020d69b44dea6 (patch) | |
tree | 49c91f885ae48184d61f0175f6ca9c1bd13fa801 /contrib | |
parent | compat: 4.4.0 has strange ECN function (diff) | |
download | wireguard-monolithic-historical-ab9befbe4118850bcd58b33064f020d69b44dea6.tar.xz wireguard-monolithic-historical-ab9befbe4118850bcd58b33064f020d69b44dea6.zip |
netlink: make sure we reserve space for NLMSG_DONE
Otherwise, if messages pack really close together, we'll exceed the size
of the sk_buff and return ENOBUFS. I suspect this has been the cause of
a lot of weird bugs that people just worked around by increasing the
receive buffer size. This actually addresses the root cause.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions