lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1295587088.2613.51.camel@edumazet-laptop>
Date:	Fri, 21 Jan 2011 06:18:08 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	David Miller <davem@...emloft.net>,
	John Fastabend <john.r.fastabend@...el.com>
Cc:	bhutchings@...arflare.com, jarkao2@...il.com, hadi@...erus.ca,
	shemminger@...tta.com, tgraf@...radead.org, nhorman@...driver.com,
	netdev@...r.kernel.org
Subject: [PATCH net-next-2.6] net: netif_setup_tc() is static

Le mercredi 19 janvier 2011 à 23:41 -0800, David Miller a écrit :
> From: John Fastabend <john.r.fastabend@...el.com>
> Date: Mon, 17 Jan 2011 10:06:04 -0800
> 
> > This patch provides a mechanism for lower layer devices to
> > steer traffic using skb->priority to tx queues.
>  ...
> > Signed-off-by: John Fastabend <john.r.fastabend@...el.com>
> 
> Applied.

Hi John

Should netif_setup_tc() be static, or is it meant to be exported
somehow ?

[PATCH net-next-2.6] net: netif_setup_tc() is static

Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
---
diff --git a/net/core/dev.c b/net/core/dev.c
index 2730352..47d3d78 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1605,7 +1605,7 @@ static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev)
  * expected that drivers will fix this mapping if they can before
  * calling netif_set_real_num_tx_queues.
  */
-void netif_setup_tc(struct net_device *dev, unsigned int txq)
+static void netif_setup_tc(struct net_device *dev, unsigned int txq)
 {
 	int i;
 	struct netdev_tc_txq *tc = &dev->tc_to_txq[0];


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ