Thread (18 messages) flat view 18 messages, 5 authors, 2018-06-30

Re: [PATCH net-next 1/5] ipv4: add __ip_queue_xmit() that supports tos param

From: Xin Long <lucien.xin@gmail.com>
Date: 2018-06-26 04:38:51

On Mon, Jun 25, 2018 at 7:13 PM, Neil Horman [off-list ref] wrote:
On Mon, Jun 25, 2018 at 04:26:54PM +0900, David Miller wrote:
quoted
From: Xin Long <lucien.xin@gmail.com>
Date: Mon, 25 Jun 2018 10:14:33 +0800
quoted
+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?
I concur.  No need to export both here
will do that.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help