diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-02-27 14:07:22 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-02-27 15:03:15 -0800 |
commit | 5763a32e962eeeedb270080a6b082ab94c872d47 (patch) | |
tree | dd2ec3be81c2b9a21ca3d6e9bb906b78e8b3c9ab /src/data.c | |
parent | 11a6272ef82c37764ae57ee8ff64ac49e0d61352 (diff) |
data: transition to skb_reset_tc for 4.11
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/data.c')
-rw-r--r-- | src/data.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -124,9 +124,7 @@ static inline void skb_reset(struct sk_buff *skb) skb->dev = NULL; #ifdef CONFIG_NET_SCHED skb->tc_index = 0; -#ifdef CONFIG_NET_CLS_ACT - skb->tc_verd = 0; -#endif + skb_reset_tc(skb); #endif skb->hdr_len = skb_headroom(skb); skb_reset_mac_header(skb); |