aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/queueing.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-02-27 15:26:38 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-27 15:26:38 +0100
commit4fb71eb7761655109d5416fcda7a73a4ca84358b (patch)
tree23a43b31fa4f4768ee5f89ae8ff6ed4feaedcf8b /src/queueing.h
parentallowedips: maintain per-peer list of allowedips (diff)
downloadwireguard-monolithic-historical-4fb71eb7761655109d5416fcda7a73a4ca84358b.tar.xz
wireguard-monolithic-historical-4fb71eb7761655109d5416fcda7a73a4ca84358b.zip
queueing: net-next has changed signature of skb_probe_transport_header
Diffstat (limited to '')
-rw-r--r--src/queueing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/queueing.h b/src/queueing.h
index dcfe938..f8de703 100644
--- a/src/queueing.h
+++ b/src/queueing.h
@@ -102,7 +102,8 @@ static inline void wg_reset_packet(struct sk_buff *skb)
skb->hdr_len = skb_headroom(skb);
skb_reset_mac_header(skb);
skb_reset_network_header(skb);
- skb_probe_transport_header(skb, 0);
+ skb_reset_transport_header(skb);
+ skb_probe_transport_header(skb);
skb_reset_inner_headers(skb);
}