@@ -79,7 +79,6 @@ static void ri_tasklet(unsigned long dev)
}
while ((skb = __skb_dequeue(&dp->tq)) != NULL) {
- skb->tc_verd = 0;
skb->tc_nocls = 1;
u64_stats_update_begin(&dp->tsync);
@@ -406,7 +406,6 @@ int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev)
skb->tc_nocls = 0;
skb->tc_from_ingress = 0;
skb->tc_at_ingress = 0;
- skb->tc_verd = 0;
#endif /* CONFIG_NET_CLS_ACT */
#endif /* CONFIG_NET_SCHED */
#endif /* REUSE_SKBUFFS_WITHOUT_FREE */
@@ -483,7 +483,6 @@ static inline u32 skb_mstamp_us_delta(const struct skb_mstamp *t1,
* @nf_bridge: Saved data about a bridged frame - see br_netfilter.c
* @skb_iif: ifindex of device we arrived on
* @tc_index: Traffic control index
- * @tc_verd: traffic control verdict
* @hash: the packet hash
* @queue_mapping: Queue mapping for multiqueue devices
* @xmit_more: More SKBs are pending for this queue
@@ -627,9 +626,6 @@ struct sk_buff {
#ifdef CONFIG_NET_SCHED
__u16 tc_index; /* traffic control index */
-#ifdef CONFIG_NET_CLS_ACT
- __u16 tc_verd; /* traffic control verdict */
-#endif
#endif
union {
@@ -3702,7 +3702,6 @@ skip_taps:
goto unlock;
}
- skb->tc_verd = 0;
ncls:
#endif
if (pfmemalloc && !skb_pfmemalloc_protocol(skb))
@@ -848,9 +848,6 @@ static void __copy_skb_header(struct sk_buff *new, const struct sk_buff *old)
#endif
#ifdef CONFIG_NET_SCHED
CHECK_SKB_FIELD(tc_index);
-#ifdef CONFIG_NET_CLS_ACT
- CHECK_SKB_FIELD(tc_verd);
-#endif
#endif
}
not used anymore; replaced with tc_nocls and tc_{at,from}_ingress flags. Signed-off-by: Florian Westphal <fw@strlen.de> --- drivers/net/ifb.c | 1 - drivers/staging/octeon/ethernet-tx.c | 1 - include/linux/skbuff.h | 4 ---- net/core/dev.c | 1 - net/core/skbuff.c | 3 --- 5 files changed, 10 deletions(-)