: [XFRM]: Extract common hashing code into xfrm_hash.[ch]
Subsystems (3)
David Miller
maintainerPATCH 14/15 : [XFRM]: Extract common hashing code into xfrm_hash.[ch]
[XFRM]: Extract common hashing code into xfrm_hash.[ch]
Signed-off-by David S. Miller <[email protected]>
--- net/xfrm/Makefile | 3 + net/xfrm/xfrm_hash.c | 41 ++++++++++++++++++ net/xfrm/xfrm_hash.h | 112 ++++++++++++++++++++++++++++++++++++++++++++++++ net/xfrm/xfrm_policy.c | 95 +++-------------------------------------- net/xfrm/xfrm_state.c | 99 ++++-------------------------------------- 5 files changed, 172 insertions(+), 178 deletions(-)
net/xfrm/Makefile +2 -1
@@ -2,6 +2,7 @@ # # Makefile for the XFRM subsystem. # -obj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_input.o xfrm_algo.o +obj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_hash.o \ + xfrm_input.o xfrm_algo.o obj-$(CONFIG_XFRM_USER) += xfrm_user.o
net/xfrm/xfrm_hash.c new file +41 -0
41 lines not on this page · raw message
net/xfrm/xfrm_hash.h new file +112 -0
112 lines not on this page · raw message
net/xfrm/xfrm_policy.c +8 -87
158 lines not on this page · raw message
net/xfrm/xfrm_state.c +9 -90
146 lines not on this page · raw message
Signature · 1 line
1.4.2.rc2.g3e042