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 | 6a41b506df7a63f8fb550a29529e54bd9afa90d2 (patch) | |
tree | 486f69b92396bd7056657157e97eaf7fee8a4836 /src/data.c | |
parent | device: move sysctl toggling to open time (diff) | |
download | wireguard-monolithic-historical-6a41b506df7a63f8fb550a29529e54bd9afa90d2.tar.xz wireguard-monolithic-historical-6a41b506df7a63f8fb550a29529e54bd9afa90d2.zip |
data: transition to skb_reset_tc for 4.11
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); |