net: ipmr: cleanups and minor improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 7 repliesIn review
- v19 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | net: ipmr: move the tbl id check in ipmr_new_tablenet/ | +17 | 0 replies | |
| 2/9 | net: ipmr: always define mroute_reg_vif_numnet/ | +0 | 2 replies | |
| 3/9 | net: ipmr: remove some pimsm ifdefs and simplifynet/ | +84 | 0 replies | |
| 4/9 | net: ipmr: fix code and comment styleinclude/ net/ | +54 | 2 replies | |
| 5/9 | net: ipmr: make ip_mroute_getsockopt more understandablenet/ | +14 | 0 replies | |
| 6/9 | net: ipmr: drop an instance of CONFIG_IP_MROUTE_MULTIPLE_TABLESnet/ | +2 | 0 replies | |
| 7/9 | net: ipmr: drop ip_mr_init() mrt_cachep null check as we'll panic if it failsnet/ | +0 | 0 replies | |
| 8/9 | net: ipmr: rearrange and cleanup setsockoptnet/ | +107 | 2 replies | |
| 9/9 | net: ipmr: factor out common vif init codenet/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH net-next v2 0/9] net: ipmr: cleanups and minor improvements
From: Nikolay Aleksandrov <[email protected]>
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(-)
Signature · 1 line
2.4.3