]> git.baikalelectronics.ru Git - kernel.git/commit
xskmap: Move non-standard list manipulation to helper
authorToke Høiland-Jørgensen <toke@redhat.com>
Fri, 28 Jun 2019 09:12:34 +0000 (11:12 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 28 Jun 2019 23:31:08 +0000 (01:31 +0200)
commit72a67cc2452692cb2de1ac82e228525da85bdc80
tree8546f434daf91c6cf24a15281eafc471ac50eabe
parent9af5220a04240d4f6e16ed0921c08c0b7db70dee
xskmap: Move non-standard list manipulation to helper

Add a helper in list.h for the non-standard way of clearing a list that is
used in xskmap. This makes it easier to reuse it in the other map types,
and also makes sure this usage is not forgotten in any list refactorings in
the future.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/linux/list.h
kernel/bpf/xskmap.c