lkml.org 
[lkml]   [2014]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] netlink: per-protocol bind fixup/enhancement set
Date
This set provides a way for per-protocol bind functions to signal an error and
to be able to clean up after themselves.

The first patch has already been accepted, but is included just in case to
avoid a merge error.

The second patch adds the per-protocol bind return code to signal to the
netlink code that no further processing should be done and to undo the work
already done. This rev has fixed DaveM's last issue and flattened the
intentation as requested by Patrick McHardy by two by reworking the logic.

The third provides a way per protocol to undo actions on DROP.

Thanks for the feedback.

Richard Guy Briggs (3):
netlink: simplify nfnetlink_bind
netlink: have netlink per-protocol bind function return an error code.
netlink: implement unbind to netlink_setsockopt NETLINK_DROP_MEMBERSHIP

include/linux/netlink.h | 3 ++-
net/netfilter/nfnetlink.c | 10 ++++------
net/netlink/af_netlink.c | 44 +++++++++++++++++++++++++++++++-------------
net/netlink/af_netlink.h | 6 ++++--
4 files changed, 41 insertions(+), 22 deletions(-)



\
 
 \ /
  Last update: 2014-04-01 17:01    [W:0.172 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site