From: Nikolay Aleksandrov <niko...@cumulusnetworks.com> Hi, Since I'll have to work with ipmr, I decided to clean it up and do some minor improvements. Functionally there're almost no changes except the SLAB_PANIC removal. Most of the patches just re-design some functions to be clearer and more concise and try to remove the ifdef web that was inside. There's more information in each commit. This is the first set, the end goal is to introduce complete netlink support and control over the mfc and vif devices. I've tried to test all of the setsockopt/getsockopt options, and also made builds with various ipmr kconfig options turned on and off.
v2: change patch 7 to keep SLAB_PANIC and just drop the unnecessary null check Thank you, Nik Nikolay Aleksandrov (9): net: ipmr: move the tbl id check in ipmr_new_table net: ipmr: always define mroute_reg_vif_num net: ipmr: remove some pimsm ifdefs and simplify net: ipmr: fix code and comment style net: ipmr: make ip_mroute_getsockopt more understandable net: ipmr: drop an instance of CONFIG_IP_MROUTE_MULTIPLE_TABLES net: ipmr: drop ip_mr_init() mrt_cachep null check as we'll panic if it fails net: ipmr: rearrange and cleanup setsockopt net: ipmr: factor out common vif init code include/uapi/linux/mroute.h | 59 ++--- net/ipv4/ipmr.c | 597 ++++++++++++++++++++------------------------ 2 files changed, 284 insertions(+), 372 deletions(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html