]> Git Repo - linux.git/commit
net: rtnetlink: add bulk delete support flag
authorNikolay Aleksandrov <[email protected]>
Wed, 13 Apr 2022 10:51:55 +0000 (13:51 +0300)
committerDavid S. Miller <[email protected]>
Wed, 13 Apr 2022 11:46:26 +0000 (12:46 +0100)
commita6cec0bcd34264be8887791594be793b3f12719f
treeb7da7e285081c96a18e5bf32b8feda15f3f56a3d
parent545528d788556c724eeb5400757f828ef27782a8
net: rtnetlink: add bulk delete support flag

Add a new rtnl flag (RTNL_FLAG_BULK_DEL_SUPPORTED) which is used to
verify that the delete operation allows bulk object deletion. Also emit
a warning if anyone tries to set it for non-delete kind.

Suggested-by: David Ahern <[email protected]>
Signed-off-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/rtnetlink.h
net/core/rtnetlink.c
This page took 0.055559 seconds and 4 git commands to generate.