[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1426611124-2295-1-git-send-email-vadim4j@gmail.com>
Date: Tue, 17 Mar 2015 18:52:02 +0200
From: Vadim Kochan <vadim4j@...il.com>
To: netdev@...r.kernel.org
Cc: daniel@...earbox.net, Vadim Kochan <vadim4j@...il.com>
Subject: [PATCH iproute2 0/2] tc class names: Ignore if default file does not exist
1) Split lib/names.c:db_names_alloc to 2 funcs for
allocate and load names from file. Also added checking for malloc
failing.
2) Ignore if default class names file does not exist if '-nm' option
was specified, so it will be possible to create alias:
alias tc='tc -nm'
Changed default class name file cls_names -> tc_cls.
Vadim Kochan (2):
lib names: Split to db_names_alloc and db_names_load
tc class: Ignore if default class name file does not exist
include/names.h | 3 ++-
lib/names.c | 59 +++++++++++++++++++++++++++++++++++++++++----------------
tc/tc_util.c | 19 +++++++++++++++----
3 files changed, 60 insertions(+), 21 deletions(-)
--
2.3.1
--
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