FreeBSD Bugzilla – Attachment 161369 Details for
Bug 203324
[patch update] isboot-kmod 0.2.10 -> 0.2.11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update
isboot-kmod.diff (text/plain), 2.94 KB, created by
Kurt Jaeger
on 2015-09-25 05:38:57 UTC
(
hide
)
Description:
update
Filename:
MIME Type:
Creator:
Kurt Jaeger
Created:
2015-09-25 05:38:57 UTC
Size:
2.94 KB
patch
obsolete
>diff -r -u -N net/isboot-kmod/Makefile /home/pi/myp/net/isboot-kmod/Makefile >--- net/isboot-kmod/Makefile 2015-09-25 07:29:51.444832000 +0200 >+++ /home/pi/myp/net/isboot-kmod/Makefile 2015-09-25 07:30:40.493264000 +0200 >@@ -1,7 +1,7 @@ > # $FreeBSD: head/net/isboot-kmod/Makefile 397686 2015-09-24 10:28:58Z pi $ > > PORTNAME= isboot-kmod >-PORTVERSION= 0.2.10 >+PORTVERSION= 0.2.11 > CATEGORIES= net > MASTER_SITES= http://www.peach.ne.jp/archives/isboot/ > DISTNAME= isboot-${PORTVERSION} >diff -r -u -N net/isboot-kmod/distinfo /home/pi/myp/net/isboot-kmod/distinfo >--- net/isboot-kmod/distinfo 2015-09-25 07:29:51.445720000 +0200 >+++ /home/pi/myp/net/isboot-kmod/distinfo 2015-09-25 07:30:48.478732000 +0200 >@@ -1,2 +1,2 @@ >-SHA256 (isboot-0.2.10.tar.gz) = b801708256f789e1032f7be2db79f886919fddb7b9b26ec1835f68a8237c3b48 >-SIZE (isboot-0.2.10.tar.gz) = 30268 >+SHA256 (isboot-0.2.11.tar.gz) = c09ade1e119447650c72d4a3387a934f0be7b6f5fb2c9aa5320e284fb2d1ec47 >+SIZE (isboot-0.2.11.tar.gz) = 31084 >diff -r -u -N net/isboot-kmod/files/patch-iscsi.c /home/pi/myp/net/isboot-kmod/files/patch-iscsi.c >--- net/isboot-kmod/files/patch-iscsi.c 2015-09-25 07:29:51.433507000 +0200 >+++ /home/pi/myp/net/isboot-kmod/files/patch-iscsi.c 1970-01-01 01:00:00.000000000 +0100 >@@ -1,56 +0,0 @@ >---- iscsi.c.orig 2015-09-23 05:51:43 UTC >-+++ iscsi.c >-@@ -1036,24 +1036,30 @@ isboot_append_param(pdu_t *pp, char *for >- return (n); >- } >- >--#if __FreeBSD_version >= 1000050 >-+#if __FreeBSD_version < 1000050 >-+static void >-+isboot_free_mbufext(void *p, void *optarg) >-+#endif >-+#if __FreeBSD_version >= 1000050 && __FreeBSD_version < 1100000 >-+#define EXT_FREE_OK 0 >- static int >- isboot_free_mbufext(struct mbuf *m, void *p, void *optarg) >--#else >-+#endif >-+#if __FreeBSD_version >= 1100000 >- static void >--isboot_free_mbufext(void *p, void *optarg) >-+isboot_free_mbufext(struct mbuf *m, void *p, void *optarg) >- #endif >- { >- >- ISBOOT_TRACE("isboot_free_mbufext\n"); >- if (p == NULL) >--#if __FreeBSD_version >= 1000050 >-+#if __FreeBSD_version >= 1000050 && __FreeBSD_version < 1100000 >- return (EXT_FREE_OK); >- #else >- return; >- #endif >- isboot_free_mext(p); >--#if __FreeBSD_version >= 1000050 >-+#if __FreeBSD_version >= 1000050 && __FreeBSD_version < 1100000 >- return (EXT_FREE_OK); >- #endif >- } >-@@ -1072,7 +1078,7 @@ isboot_xmit_pdu(struct isboot_sess *sess >- + sizeof(pp->hdr_dig) > MHLEN) { >- panic("AHS=%d is too large", pp->ahs_len); >- } >-- MGETHDR(mh, M_TRYWAIT, MT_DATA); >-+ MGETHDR(mh, M_WAITOK, MT_DATA); >- mh->m_pkthdr.rcvif = NULL; >- memcpy(mh->m_data, &pp->ipdu, ISCSI_BHS_LEN); >- mh->m_len = ISCSI_BHS_LEN; >-@@ -1099,7 +1105,7 @@ isboot_xmit_pdu(struct isboot_sess *sess >- /* allocate external buffer and add it to mbuf */ >- ds_dd = isboot_malloc_mext(ISCSI_ALIGN(pp->ds_len) >- + sizeof(pp->ds_dig)); >-- MGET(md, M_TRYWAIT, MT_DATA); >-+ MGET(md, M_WAITOK, MT_DATA); >- #if __FreeBSD_version >= 800016 >- MEXTADD(md, (caddr_t)ds_dd, (ISCSI_ALIGN(pp->ds_len) >- + sizeof(pp->ds_dig)),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203324
: 161369