]> git.baikalelectronics.ru Git - kernel.git/commit
rtnetlink: Update ipmr_rtm_dumplink for strict data checking
authorDavid Ahern <dsahern@gmail.com>
Mon, 8 Oct 2018 03:16:34 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:39:04 +0000 (10:39 -0700)
commit8a7f1122352d4cef70a93e13b7596e4988e34f38
tree89b9c2434b0831514df42c92c5d7ddd9853238b8
parent0b5a2cce73cb68327c578ece2574ebae48c5ef8a
rtnetlink: Update ipmr_rtm_dumplink for strict data checking

Update ipmr_rtm_dumplink for strict data checking. If the flag is set,
the dump request is expected to have an ifinfomsg struct as the header.
All elements of the struct are expected to be 0 and no attributes can
be appended.

Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Christian Brauner <christian@brauner.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c