]> git.baikalelectronics.ru Git - kernel.git/commit
ipmr/ip6mr: report origin of mfc entry into rtnl msg
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 4 Dec 2012 01:13:38 +0000 (01:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Dec 2012 18:08:11 +0000 (13:08 -0500)
commitb178ffc7d5848b94b31c8a6b8d7ca18a50e8a199
treebbf480f5b1f5a246e5f6f38a0b79dad1a29a7269
parentd259aaf02462fe4dc8c489e63f53e7661dde9505
ipmr/ip6mr: report origin of mfc entry into rtnl msg

A mfc entry can be static or not (added via the mroute_sk socket). The patch
reports MFC_STATIC flag into rtm_protocol by setting rtm_protocol to
RTPROT_STATIC or RTPROT_MROUTED.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rtnetlink.h
net/ipv4/ipmr.c
net/ipv6/ip6mr.c