diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-26 15:04:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-26 15:04:12 +0000 |
commit | b0050a9bb1e76b18c8a33b265f68d7e80163bf02 (patch) | |
tree | f78d9c8e540ef2578516a40011170521b4c2c912 /testing/iscsi-scst-grsec/2.6.35.patch | |
parent | 002aa4f79827377f7e7977df7af8a0b95abee3da (diff) | |
download | aports-b0050a9bb1e76b18c8a33b265f68d7e80163bf02.tar.bz2 aports-b0050a9bb1e76b18c8a33b265f68d7e80163bf02.tar.xz |
testing/iscs-scst-grsec: build fix for 2.6.35 kernel
Diffstat (limited to 'testing/iscsi-scst-grsec/2.6.35.patch')
-rw-r--r-- | testing/iscsi-scst-grsec/2.6.35.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/iscsi-scst-grsec/2.6.35.patch b/testing/iscsi-scst-grsec/2.6.35.patch new file mode 100644 index 0000000000..54fde38221 --- /dev/null +++ b/testing/iscsi-scst-grsec/2.6.35.patch @@ -0,0 +1,11 @@ +--- ./kernel/conn.c.orig ++++ ./kernel/conn.c +@@ -86,7 +86,7 @@ + switch (sk->sk_family) { + case AF_INET: + snprintf(buf, sizeof(buf), +- "%u.%u.%u.%u", NIPQUAD(inet_sk(sk)->daddr)); ++ "%u.%u.%u.%u", NIPQUAD(inet_sk(sk)->inet_daddr)); + break; + case AF_INET6: + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29) |