Displaying 1 result from an estimated 1 matches for "89f65564e338".
2023 May 19
2
[Bridge] [PATCH net-next 1/5] skbuff: bridge: Add layer 2 miss indication
...p = NULL;
+ BR_INPUT_SKB_CB(skb)->miss = 1;
}
while (p || rp) {
Then copy it to skb->l2_miss at the very end where the cache line
containing this field is already written to:
diff --git a/net/bridge/br_forward.c b/net/bridge/br_forward.c
index 84d6dd5e5b1a..89f65564e338 100644
--- a/net/bridge/br_forward.c
+++ b/net/bridge/br_forward.c
@@ -50,6 +50,8 @@ int br_dev_queue_push_xmit(struct net *net, struct sock *sk, struct sk_buff *skb
br_switchdev_frame_set_offload_fwd_mark(skb);
+ skb->l2_miss = BR_INPUT_SKB_CB(skb)->miss;
+
dev_queu...