summaryrefslogtreecommitdiff
path: root/lib/errseq.c
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2018-03-19 13:17:30 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-22 11:16:42 -0400
commit94e5e3087a67c765be98592b36d8d187566478d5 (patch)
tree3d2b8468bfa74e705a29702bb90ff2b9172e8a0b /lib/errseq.c
parentaa65f636540539e2e1fd77bdcd8fc7060d19d47b (diff)
net: add uevent socket member
This commit adds struct uevent_sock to struct net. Since struct uevent_sock records the position of the uevent socket in the uevent socket list we can trivially remove it from the uevent socket list during cleanup. This speeds up the old removal codepath. Note, list_del() will hit __list_del_entry_valid() in its call chain which will validate that the element is a member of the list. If it isn't it will take care that the list is not modified. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/errseq.c')
0 files changed, 0 insertions, 0 deletions