Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 293121
Collapse All | Expand All

(-)/usr/portage/sys-block/iscsitarget/files/iscsitarget-0.4.17-crash-on-shutdown-fix.patch (+12 lines)
Line 0 Link Here
1
diff --git a/kernel/event.c b/kernel/event.c
2
index e45ed67..d74fc06 100644
3
--- a/kernel/event.c
4
+++ b/kernel/event.c
5
@@ -93,5 +93,5 @@ int event_init(void)
6
 void event_exit(void)
7
 {
8
 	if (nl)
9
-		sock_release(nl->sk_socket);
10
+		netlink_kernel_release(nl);
11
 }
12
(-)/usr/portage/sys-block/iscsitarget/iscsitarget-0.4.17.ebuild (+1 lines)
Lines 28-33 Link Here
28
	epatch "${FILESDIR}"/${PN}-0.4.17+linux-2.6.28.patch #252608
28
	epatch "${FILESDIR}"/${PN}-0.4.17+linux-2.6.28.patch #252608
29
	epatch "${FILESDIR}"/${PN}-0.4.17+linux-2.6.29.patch
29
	epatch "${FILESDIR}"/${PN}-0.4.17+linux-2.6.29.patch
30
	epatch "${FILESDIR}"/${PN}-0.4.17+linux-2.6.30.patch
30
	epatch "${FILESDIR}"/${PN}-0.4.17+linux-2.6.30.patch
31
	epatch "${FILESDIR}"/${PN}-0.4.17-crash-on-shutdown-fix.patch
31
	convert_to_m "${S}"/Makefile
32
	convert_to_m "${S}"/Makefile
32
}
33
}
33
34

Return to bug 293121