kernel/include/net/netfilter/nf_tproxy.h
.. .. @@ -17,6 +17,13 @@ 17 17 return false; 18 18 } 19 19 20 +static inline void nf_tproxy_twsk_deschedule_put(struct inet_timewait_sock *tw)21 +{22 + local_bh_disable();23 + inet_twsk_deschedule_put(tw);24 + local_bh_enable();25 +}26 +20 27 /* assign a socket to the skb -- consumes sk */ 21 28 static inline void nf_tproxy_assign_sock(struct sk_buff *skb, struct sock *sk) 22 29 {