diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-06-19 06:50:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-21 22:28:49 +0300 |
commit | c34d4582518ff83a4848c2d33a46be82e2499a5b (patch) | |
tree | 816f17e3db1a03d9322da1a9955f9b8752512006 /lib | |
parent | 185ab886d3fb283e837283c343bf539c371e26cf (diff) | |
download | linux-c34d4582518ff83a4848c2d33a46be82e2499a5b.tar.xz |
unix_bind(): allocate addr earlier
makes it easier to massage; we do pay for that by extra work
(kmalloc+memcpy+kfree) in some error cases, but those are not
on the hot paths anyway.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions