aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2022-03-20 18:59:00 -0700
committerAlexei Starovoitov <[email protected]>2022-03-20 18:59:00 -0700
commit46e9244b2563cc53acc63b57f5eb2999fa729c60 (patch)
treea68caed04866465d23d56a0ce32220741231745a /net/lapb/lapb_subr.c
parent30630e44b6580f17724b6c5921a2a540bf06d6af (diff)
parentce5236800116d18ac2c06c58f73930406e3ea4be (diff)
Merge branch 'Make 2-byte access to bpf_sk_lookup->remote_port endian-agnostic'
Jakub Sitnicki says: ==================== This patch set is a result of a discussion we had around the RFC patchset from Ilya [1]. The fix for the narrow loads from the RFC series is still relevant, but this series does not depend on it. Nor is it required to unbreak sk_lookup tests on BE, if this series gets applied. To summarize the takeaways from [1]: 1) we want to make 2-byte load from ctx->remote_port portable across LE and BE, 2) we keep the 4-byte load from ctx->remote_port as it is today - result varies on endianess of the platform. [1] https://lore.kernel.org/bpf/[email protected]/ v1 -> v2: - Remove needless check that 4-byte load is from &ctx->remote_port offset (Martin) [v1]: https://lore.kernel.org/bpf/[email protected]/ ==================== Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions