diff options
author | David S. Miller <davem@davemloft.net> | 2020-02-28 21:13:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-28 21:13:02 +0100 |
commit | 9a834f9b04bc5ed2db27eb45b0cc6415ce7c314c (patch) | |
tree | 9d8b2dd6c404c843212078fb52a8f38b75214afc /net/dccp | |
parent | af_unix: Replace zero-length array with flexible-array member (diff) | |
parent | net: datagram: drop 'destructor' argument from several helpers (diff) | |
download | linux-9a834f9b04bc5ed2db27eb45b0cc6415ce7c314c.tar.xz linux-9a834f9b04bc5ed2db27eb45b0cc6415ce7c314c.zip |
Merge branch 'net-cleanup-datagram-receive-helpers'
Paolo Abeni says:
====================
net: cleanup datagram receive helpers
Several receive helpers have an optional destructor argument, which uglify
the code a bit and is taxed by retpoline overhead.
This series refactor the code so that we can drop such optional argument,
cleaning the helpers a bit and avoiding an indirect call in fast path.
The first patch refactor a bit the caller, so that the second patch
actually dropping the argument is more straight-forward
v1 -> v2:
- call scm_stat_del() only when not peeking - Kirill
- fix build issue with CONFIG_INET_ESPINTCP
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions