--- /usr/portage/sys-block/iscsitarget/files/iscsitarget-0.4.17-crash-on-shutdown-fix.patch 1969-12-31 16:00:00.000000000 -0800 +++ /usr/portage/sys-block/iscsitarget/files/iscsitarget-0.4.17-crash-on-shutdown-fix.patch 2009-11-13 13:23:13.000000000 -0800 @@ -0,0 +1,12 @@ +diff --git a/kernel/event.c b/kernel/event.c +index e45ed67..d74fc06 100644 +--- a/kernel/event.c ++++ b/kernel/event.c +@@ -93,5 +93,5 @@ int event_init(void) + void event_exit(void) + { + if (nl) +- sock_release(nl->sk_socket); ++ netlink_kernel_release(nl); + } + --- /usr/portage/sys-block/iscsitarget/iscsitarget-0.4.17.ebuild 2009-11-13 13:26:36.000000000 -0800 +++ /usr/portage/sys-block/iscsitarget/iscsitarget-0.4.17.ebuild 2009-11-13 13:23:54.000000000 -0800 @@ -28,6 +28,7 @@ epatch "${FILESDIR}"/${PN}-0.4.17+linux-2.6.28.patch #252608 epatch "${FILESDIR}"/${PN}-0.4.17+linux-2.6.29.patch epatch "${FILESDIR}"/${PN}-0.4.17+linux-2.6.30.patch + epatch "${FILESDIR}"/${PN}-0.4.17-crash-on-shutdown-fix.patch convert_to_m "${S}"/Makefile }