rtnetlink: Add RTM_DELNETCONF
Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
50c0add534
commit
983701eb06
|
@ -122,6 +122,8 @@ enum {
|
||||||
|
|
||||||
RTM_NEWNETCONF = 80,
|
RTM_NEWNETCONF = 80,
|
||||||
#define RTM_NEWNETCONF RTM_NEWNETCONF
|
#define RTM_NEWNETCONF RTM_NEWNETCONF
|
||||||
|
RTM_DELNETCONF,
|
||||||
|
#define RTM_DELNETCONF RTM_DELNETCONF
|
||||||
RTM_GETNETCONF = 82,
|
RTM_GETNETCONF = 82,
|
||||||
#define RTM_GETNETCONF RTM_GETNETCONF
|
#define RTM_GETNETCONF RTM_GETNETCONF
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ static struct nlmsg_perm nlmsg_route_perms[] =
|
||||||
{ RTM_GETDCB, NETLINK_ROUTE_SOCKET__NLMSG_READ },
|
{ RTM_GETDCB, NETLINK_ROUTE_SOCKET__NLMSG_READ },
|
||||||
{ RTM_SETDCB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
{ RTM_SETDCB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
||||||
{ RTM_NEWNETCONF, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
{ RTM_NEWNETCONF, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
||||||
|
{ RTM_DELNETCONF, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
||||||
{ RTM_GETNETCONF, NETLINK_ROUTE_SOCKET__NLMSG_READ },
|
{ RTM_GETNETCONF, NETLINK_ROUTE_SOCKET__NLMSG_READ },
|
||||||
{ RTM_NEWMDB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
{ RTM_NEWMDB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
||||||
{ RTM_DELMDB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
{ RTM_DELMDB, NETLINK_ROUTE_SOCKET__NLMSG_WRITE },
|
||||||
|
|
Loading…
Reference in New Issue