~acelankao/+git/ubuntu-jammy:net_vlan

Last commit made on 2023-09-27
Get this branch:
git clone -b net_vlan https://git.launchpad.net/~acelankao/+git/ubuntu-jammy
Only AceLan Kao can upload to this branch. If you are AceLan Kao please log in for upload directions.

Branch merges

Branch information

Name:
net_vlan
Repository:
lp:~acelankao/+git/ubuntu-jammy

Recent commits

9fc38d7... by Ziyang Xuan <email address hidden>

net: vlan: reduce indentation level in __vlan_find_dev_deep_rcu()

If vlan_info is NULL in __vlan_find_dev_deep_rcu(), else { ... } is
unnecessary. Remove it to reduce indentation level.

Signed-off-by: Ziyang Xuan <email address hidden>

09ae898... by Ziyang Xuan <email address hidden>

net: vlan: remove unnecessary err variable in vlan_init_net()

Return vlan_init_net() directly in vlan_init_net(), remove unnecessary
err variable. Thus code looks more concise.

Signed-off-by: Ziyang Xuan <email address hidden>

c216c72... by Stefan Bader

UBUNTU: Ubuntu-5.15.0-86.96

Signed-off-by: Stefan Bader <email address hidden>

26ce927... by Stefan Bader

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/2036575
Properties: no-test-build
Signed-off-by: Stefan Bader <email address hidden>

c14b47d... by Chengen Du

Revert "x86/kvm/fpu: Limit guest user_xfeatures to supported bits of XCR0"

BugLink: https://bugs.launchpad.net/bugs/2036675

commit ad856280ddea3401e1f5060ef20e6de9f6122c76 upstream.

This reverts commit 27a189b881278c8ad9c16b0ee05668d724352733.

Signed-off-by: Chengen Du <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Roxana Nicolescu <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

5b32340... by Chengen Du

Revert "KVM: x86: Always enable legacy FP/SSE in allowed user XFEATURES"

BugLink: https://bugs.launchpad.net/bugs/2036675

commit a1020a25e69755a8a1a37735d674b91d6f02939f upstream.

This reverts commit fa9225d64f215e8109de10f6b6c7a08f033d0ec0.

Signed-off-by: Chengen Du <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Roxana Nicolescu <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

4f13478... by Alan Maguire <email address hidden>

selftests/bpf: fix static assert compilation issue for test_cls_*.c

BugLink: https://bugs.launchpad.net/bugs/2035181

commit bdeeed3498c7 ("libbpf: fix offsetof() and container_of() to work with CO-RE")

...was backported to stable trees such as 5.15. The problem is that with older
LLVM/clang (14/15) - which is often used for older kernels - we see compilation
failures in BPF selftests now:

In file included from progs/test_cls_redirect_subprogs.c:2:
progs/test_cls_redirect.c:90:2: error: static assertion expression is not an integral constant expression
        sizeof(flow_ports_t) !=
        ^~~~~~~~~~~~~~~~~~~~~~~
progs/test_cls_redirect.c:91:3: note: cast that performs the conversions of a reinterpret_cast is not allowed in a constant expression
                offsetofend(struct bpf_sock_tuple, ipv4.dport) -
                ^
progs/test_cls_redirect.c:32:3: note: expanded from macro 'offsetofend'
        (offsetof(TYPE, MEMBER) + sizeof((((TYPE *)0)->MEMBER)))
         ^
tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:86:33: note: expanded from macro 'offsetof'
                                 ^
In file included from progs/test_cls_redirect_subprogs.c:2:
progs/test_cls_redirect.c:95:2: error: static assertion expression is not an integral constant expression
        sizeof(flow_ports_t) !=
        ^~~~~~~~~~~~~~~~~~~~~~~
progs/test_cls_redirect.c:96:3: note: cast that performs the conversions of a reinterpret_cast is not allowed in a constant expression
                offsetofend(struct bpf_sock_tuple, ipv6.dport) -
                ^
progs/test_cls_redirect.c:32:3: note: expanded from macro 'offsetofend'
        (offsetof(TYPE, MEMBER) + sizeof((((TYPE *)0)->MEMBER)))
         ^
tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:86:33: note: expanded from macro 'offsetof'
                                 ^
2 errors generated.
make: *** [Makefile:594: tools/testing/selftests/bpf/test_cls_redirect_subprogs.bpf.o] Error 1

The problem is the new offsetof() does not play nice with static asserts.
Given that the context is a static assert (and CO-RE relocation is not
needed at compile time), offsetof() usage can be replaced by restoring
the original offsetof() definition as __builtin_offsetof().

Fixes: bdeeed3498c7 ("libbpf: fix offsetof() and container_of() to work with CO-RE")
Reported-by: Colm Harrington <email address hidden>
Signed-off-by: Alan Maguire <email address hidden>
Tested-by: Yipeng Zou <email address hidden>
Acked-by: Yonghong Song <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Alexei Starovoitov <email address hidden>

(cherry picked from commit 416c6d01244ecbf0abfdb898fd091b50ef951b48)
Signed-off-by: Po-Hsu Lin <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Roxana Nicolescu <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

1e8d6cb... by Herbert Xu

crypto: rsa-pkcs1pad - Use helper to set reqsize

BugLink: https://bugs.launchpad.net/bugs/2034447

The value of reqsize must only be changed through the helper.

Signed-off-by: Herbert Xu <email address hidden>

(cherry picked from commit 5b11d1a360ea23c80c6d4ec3f5986a788d0a0995)
Signed-off-by: Timo Aaltonen <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Roxana Nicolescu <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

0e0a502... by Stefan Bader

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Stefan Bader <email address hidden>

bcea2f8... by Stefan Bader

UBUNTU: Ubuntu-5.15.0-85.95

Signed-off-by: Stefan Bader <email address hidden>