Patchwork [net-next,V5,5/8] net/route: export symbol ip_tos2prio

login
register
mail settings
Submitter Amir Vadai
Date April 3, 2012, 11:10 a.m.
Message ID <1333451407-5293-6-git-send-email-amirv@mellanox.com>
Download mbox | patch
Permalink /patch/150389/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Amir Vadai - April 3, 2012, 11:10 a.m.
Need to export this to enable drivers use rt_tos2priority()

Signed-off-by: Amir Vadai <amirv@mellanox.com>
---
 net/ipv4/route.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 12ccf88..69e0b86 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -230,7 +230,7 @@  const __u8 ip_tos2prio[16] = {
 	TC_PRIO_INTERACTIVE_BULK,
 	ECN_OR_COST(INTERACTIVE_BULK)
 };
-
+EXPORT_SYMBOL(ip_tos2prio);
 
 /*
  * Route cache.