diff mbox

Still using IPTOS_TOS() in kernel? Really???

Message ID 201001111516.49558.schmto@hrz.tu-chemnitz.de
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Torsten Schmidt Jan. 11, 2010, 2:16 p.m. UTC
Hi Philip,

this patch series adds IP DiffServ OUT counters and 
renames /proc/net/ipdscp to /proc/net/ip_dscp to stay 
compatible.

See:
--- 
ipv4: prepare DSCP statistic for IN/OUT counters
ipv4: add DSCP OUT statistic   
ipv4: change DSCP proc file name
---

Torsten
diff mbox

Patch

From 54f9a93d6476dc47c9ca87f3350187011039adf9 Mon Sep 17 00:00:00 2001
From: Torsten Schmidt <schmto@hrz.tu-chemnitz.de>
Date: Mon, 11 Jan 2010 14:49:48 +0100
Subject: [PATCH 3/3] ipv4: change DSCP proc file name

Signed-off-by: Torsten Schmidt <schmto@hrz.tu-chemnitz.de>
---
 net/ipv4/ipdscp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/ipdscp.c b/net/ipv4/ipdscp.c
index 8988ccb..151623a 100644
--- a/net/ipv4/ipdscp.c
+++ b/net/ipv4/ipdscp.c
@@ -72,7 +72,7 @@  static const struct file_operations ipdscp_statistics_seq_fops = {
 
 static int __net_init ipdscp_proc_init(struct net *net)
 {
-	if (!proc_net_fops_create(net, "ipdscp", S_IRUGO,
+	if (!proc_net_fops_create(net, "ip_dscp", S_IRUGO,
 				  &ipdscp_statistics_seq_fops))
 		return -ENOMEM;
 	return 0;
-- 
1.6.3.3