[Pkg-iscsi-maintainers] Bug#614829: iscsitarget-source: fail to patch against 2.6.32
Min Xu
min at seamicro.com
Wed Feb 23 17:25:54 UTC 2011
Package: iscsitarget-source
Version: 1.4.20.2-4
Severity: normal
The patch file for 2.6.32 is stale. It doesn't apply. I changed it to the following and the compile worked.
diff --git b/kernel/conn.c a/kernel/conn.c
index f179db5..4b53acd 100644
--- b/kernel/conn.c
+++ a/kernel/conn.c
@@ -44,7 +44,7 @@ void conn_info_show(struct seq_file *seq, struct iscsi_session *session)
switch (sk->sk_family) {
case AF_INET:
snprintf(buf, sizeof(buf),
- "%pI4", inet_sk(sk)->inet_daddr);
+ "%pI4", inet_sk(sk)->daddr);
break;
case AF_INET6:
snprintf(buf, sizeof(buf), "[%pI6]",
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (600, 'testing'), (500, 'unstable'), (500, 'stable'), (200, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages iscsitarget-source depends on:
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii debhelper 8.0.0 helper programs for debian/rules
ii module-assistant 0.11.3 tool to make module package creati
iscsitarget-source recommends no packages.
iscsitarget-source suggests no packages.
-- no debconf information
More information about the Pkg-iscsi-maintainers
mailing list