aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/flow.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2025-05-28 08:03:53 +0000
committerPaolo Abeni <[email protected]>2025-05-28 08:11:15 +0000
commitf6bd8faeb113c8ab783466bc5bc1a5442ae85176 (patch)
tree21a67177c1e5f4877523e40428c1ce2a35aa1cc5 /net/openvswitch/flow.c
parentselftests/bpf: Fix bpf selftest build warning (diff)
parentnet: phy: mscc: Stop clearing the the UDPv4 checksum for L2 frames (diff)
downloadkernel-f6bd8faeb113c8ab783466bc5bc1a5442ae85176.tar.gz
kernel-f6bd8faeb113c8ab783466bc5bc1a5442ae85176.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Merge in late fixes to prepare for the 6.16 net-next PR. No conflicts nor adjacent changes. Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/openvswitch/flow.c')
-rw-r--r--net/openvswitch/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/flow.c b/net/openvswitch/flow.c
index 8a848ce72e29..b80bd3a90773 100644
--- a/net/openvswitch/flow.c
+++ b/net/openvswitch/flow.c
@@ -788,7 +788,7 @@ static int key_extract_l3l4(struct sk_buff *skb, struct sw_flow_key *key)
memset(&key->ipv4, 0, sizeof(key->ipv4));
}
} else if (eth_p_mpls(key->eth.type)) {
- u8 label_count = 1;
+ size_t label_count = 1;
memset(&key->mpls, 0, sizeof(key->mpls));
skb_set_inner_network_header(skb, skb->mac_len);