@@ -3689,6 +3689,13 @@ ncls:
if (pfmemalloc && !skb_pfmemalloc_protocol(skb))
goto drop;
+ if (static_key_false(&ingress_needed)) {
+ int i = 0;
+
+ for (i = 0; i < 10; i++)
+ pr_info("this code depends on qdisc ingress\n");
+ }
+
if (skb_vlan_tag_present(skb)) {
if (pt_prev) {
ret = deliver_skb(skb, pt_prev, orig_dev);
@@ -3721,6 +3728,13 @@ ncls:
}
}
+ if (static_key_false(&ingress_needed)) {
+ int i = 0;
+
+ for (i = 0; i < 10; i++)
+ pr_info("this also depends on qdisc ingress\n");
+ }
+
if (unlikely(skb_vlan_tag_present(skb))) {
if (skb_vlan_tag_get_id(skb))
skb->pkt_type = PACKET_OTHERHOST;
@@ -3748,6 +3762,13 @@ ncls:
&skb->dev->ptype_specific);
}
+ if (static_key_false(&ingress_needed)) {
+ int i = 0;
+
+ for (i = 0; i < 10; i++)
+ pr_info("more code that depends on qdisc ingress\n");
+ }
+
if (pt_prev) {
if (unlikely(skb_orphan_frags(skb, GFP_ATOMIC)))
goto drop;