diff options
author | Björn Töpel <[email protected]> | 2020-01-20 10:29:17 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-01-22 00:08:52 +0100 |
commit | 43a825afc91e2b06af1e8e7422198e759c2c5e20 (patch) | |
tree | 2d3ea0e73f127ff6e3eb06dc5beb8fad7e44e798 /drivers/usb/cdns3/cdns3-debug.h | |
parent | b87121dd3fa0a4d2636c0ad02a3b3fc5161fa26b (diff) |
xsk, net: Make sock_def_readable() have external linkage
XDP sockets use the default implementation of struct sock's
sk_data_ready callback, which is sock_def_readable(). This function
is called in the XDP socket fast-path, and involves a retpoline. By
letting sock_def_readable() have external linkage, and being called
directly, the retpoline can be avoided.
Signed-off-by: Björn Töpel <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions