From: Xin Long <lucien....@gmail.com> Date: Mon, 25 Jun 2018 10:14:33 +0800
> +EXPORT_SYMBOL(__ip_queue_xmit); > + > +int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl) > +{ > + return __ip_queue_xmit(sk, skb, fl, inet_sk(sk)->tos); > +} > EXPORT_SYMBOL(ip_queue_xmit); Maybe better to only export __ip_queue_xmit() and make ip_queue_xmit() an inline function in net/ip.h?