OSDN Git Service

l2tp : multicast notification to the registered listeners
authorBill Hong <bhong@brocade.com>
Sat, 27 Dec 2014 18:12:39 +0000 (10:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Dec 2014 19:17:20 +0000 (14:17 -0500)
commit33f72e6f0c67f673fd0c63a8182dbd9ffb8cf50b
tree307c17cb74415485426d32afece8b4e221f4f0fb
parent957f094f221f81e457133b1f4c4d95ffa49ff731
l2tp : multicast notification to the registered listeners

Previously l2tp module did not provide any means for the user space to
get notified when tunnels/sessions are added/modified/deleted.
This change contains the following
- create a multicast group for the listeners to register.
- notify the registered listeners when the tunnels/sessions are
  created/modified/deleted.

Signed-off-by: Bill Hong <bhong@brocade.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Sven-Thorsten Dietrich <sven@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/l2tp.h
net/l2tp/l2tp_netlink.c