From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <stable@kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [34-longterm 151/179] net: Compute protocol sequence numbers and fragment IDs using MD5.
Date: Mon, 14 May 2012 22:14:07 -0400 [thread overview]
Message-ID: <1337048075-6132-152-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <1337048075-6132-1-git-send-email-paul.gortmaker@windriver.com>
From: "David S. Miller" <davem@davemloft.net>
-------------------
This is a commit scheduled for the next v2.6.34 longterm release.
http://git.kernel.org/?p=linux/kernel/git/paulg/longterm-queue-2.6.34.git
If you see a problem with using this for longterm, please comment.
-------------------
commit 6e5714eaf77d79ae1c8b47e3e040ff5411b717ec upstream.
Computers have become a lot faster since we compromised on the
partial MD4 hash which we use currently for performance reasons.
MD5 is a much safer choice, and is inline with both RFC1948 and
other ISS generators (OpenBSD, Solaris, etc.)
Furthermore, only having 24-bits of the sequence number be truly
unpredictable is a very serious limitation. So the periodic
regeneration and 8-bit counter have been removed. We compute and
use a full 32-bit sequence number.
For ipv6, DCCP was found to use a 32-bit truncated initial sequence
number (it needs 43-bits) and that is fixed here as well.
Reported-by: Dan Kaminsky <dan@doxpara.com>
Tested-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
[PG: diffstat vs. 6e5714 differs, since no secure_ipv6_id to delete in 34]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
drivers/char/random.c | 334 +-----------------------------
include/linux/random.h | 11 -
include/net/secure_seq.h | 20 ++
net/core/Makefile | 2 +-
net/core/secure_seq.c | 184 ++++++++++++++++
net/dccp/ipv4.c | 1 +
net/dccp/ipv6.c | 9 +-
net/ipv4/inet_hashtables.c | 1 +
net/ipv4/inetpeer.c | 1 +
net/ipv4/netfilter/nf_nat_proto_common.c | 1 +
net/ipv4/route.c | 1 +
net/ipv4/tcp_ipv4.c | 1 +
net/ipv6/inet6_hashtables.c | 1 +
net/ipv6/tcp_ipv6.c | 1 +
14 files changed, 223 insertions(+), 345 deletions(-)
create mode 100644 include/net/secure_seq.h
create mode 100644 net/core/secure_seq.c
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 2fd3d39..ccdadd9 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -1295,330 +1295,14 @@ ctl_table random_table[] = {
};
#endif /* CONFIG_SYSCTL */
-/********************************************************************
- *
- * Random functions for networking
- *
- ********************************************************************/
-
-/*
- * TCP initial sequence number picking. This uses the random number
- * generator to pick an initial secret value. This value is hashed
- * along with the TCP endpoint information to provide a unique
- * starting point for each pair of TCP endpoints. This defeats
- * attacks which rely on guessing the initial TCP sequence number.
- * This algorithm was suggested by Steve Bellovin.
- *
- * Using a very strong hash was taking an appreciable amount of the total
- * TCP connection establishment time, so this is a weaker hash,
- * compensated for by changing the secret periodically.
- */
-
-/* F, G and H are basic MD4 functions: selection, majority, parity */
-#define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z))))
-#define G(x, y, z) (((x) & (y)) + (((x) ^ (y)) & (z)))
-#define H(x, y, z) ((x) ^ (y) ^ (z))
-
-/*
- * The generic round function. The application is so specific that
- * we don't bother protecting all the arguments with parens, as is generally
- * good macro practice, in favor of extra legibility.
- * Rotation is separate from addition to prevent recomputation
- */
-#define ROUND(f, a, b, c, d, x, s) \
- (a += f(b, c, d) + x, a = (a << s) | (a >> (32 - s)))
-#define K1 0
-#define K2 013240474631UL
-#define K3 015666365641UL
+static u32 random_int_secret[MD5_MESSAGE_BYTES / 4] ____cacheline_aligned;
-#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
-
-static __u32 twothirdsMD4Transform(__u32 const buf[4], __u32 const in[12])
+static int __init random_int_secret_init(void)
{
- __u32 a = buf[0], b = buf[1], c = buf[2], d = buf[3];
-
- /* Round 1 */
- ROUND(F, a, b, c, d, in[ 0] + K1, 3);
- ROUND(F, d, a, b, c, in[ 1] + K1, 7);
- ROUND(F, c, d, a, b, in[ 2] + K1, 11);
- ROUND(F, b, c, d, a, in[ 3] + K1, 19);
- ROUND(F, a, b, c, d, in[ 4] + K1, 3);
- ROUND(F, d, a, b, c, in[ 5] + K1, 7);
- ROUND(F, c, d, a, b, in[ 6] + K1, 11);
- ROUND(F, b, c, d, a, in[ 7] + K1, 19);
- ROUND(F, a, b, c, d, in[ 8] + K1, 3);
- ROUND(F, d, a, b, c, in[ 9] + K1, 7);
- ROUND(F, c, d, a, b, in[10] + K1, 11);
- ROUND(F, b, c, d, a, in[11] + K1, 19);
-
- /* Round 2 */
- ROUND(G, a, b, c, d, in[ 1] + K2, 3);
- ROUND(G, d, a, b, c, in[ 3] + K2, 5);
- ROUND(G, c, d, a, b, in[ 5] + K2, 9);
- ROUND(G, b, c, d, a, in[ 7] + K2, 13);
- ROUND(G, a, b, c, d, in[ 9] + K2, 3);
- ROUND(G, d, a, b, c, in[11] + K2, 5);
- ROUND(G, c, d, a, b, in[ 0] + K2, 9);
- ROUND(G, b, c, d, a, in[ 2] + K2, 13);
- ROUND(G, a, b, c, d, in[ 4] + K2, 3);
- ROUND(G, d, a, b, c, in[ 6] + K2, 5);
- ROUND(G, c, d, a, b, in[ 8] + K2, 9);
- ROUND(G, b, c, d, a, in[10] + K2, 13);
-
- /* Round 3 */
- ROUND(H, a, b, c, d, in[ 3] + K3, 3);
- ROUND(H, d, a, b, c, in[ 7] + K3, 9);
- ROUND(H, c, d, a, b, in[11] + K3, 11);
- ROUND(H, b, c, d, a, in[ 2] + K3, 15);
- ROUND(H, a, b, c, d, in[ 6] + K3, 3);
- ROUND(H, d, a, b, c, in[10] + K3, 9);
- ROUND(H, c, d, a, b, in[ 1] + K3, 11);
- ROUND(H, b, c, d, a, in[ 5] + K3, 15);
- ROUND(H, a, b, c, d, in[ 9] + K3, 3);
- ROUND(H, d, a, b, c, in[ 0] + K3, 9);
- ROUND(H, c, d, a, b, in[ 4] + K3, 11);
- ROUND(H, b, c, d, a, in[ 8] + K3, 15);
-
- return buf[1] + b; /* "most hashed" word */
- /* Alternative: return sum of all words? */
-}
-#endif
-
-#undef ROUND
-#undef F
-#undef G
-#undef H
-#undef K1
-#undef K2
-#undef K3
-
-/* This should not be decreased so low that ISNs wrap too fast. */
-#define REKEY_INTERVAL (300 * HZ)
-/*
- * Bit layout of the tcp sequence numbers (before adding current time):
- * bit 24-31: increased after every key exchange
- * bit 0-23: hash(source,dest)
- *
- * The implementation is similar to the algorithm described
- * in the Appendix of RFC 1185, except that
- * - it uses a 1 MHz clock instead of a 250 kHz clock
- * - it performs a rekey every 5 minutes, which is equivalent
- * to a (source,dest) tulple dependent forward jump of the
- * clock by 0..2^(HASH_BITS+1)
- *
- * Thus the average ISN wraparound time is 68 minutes instead of
- * 4.55 hours.
- *
- * SMP cleanup and lock avoidance with poor man's RCU.
- * Manfred Spraul <manfred@colorfullife.com>
- *
- */
-#define COUNT_BITS 8
-#define COUNT_MASK ((1 << COUNT_BITS) - 1)
-#define HASH_BITS 24
-#define HASH_MASK ((1 << HASH_BITS) - 1)
-
-static struct keydata {
- __u32 count; /* already shifted to the final position */
- __u32 secret[12];
-} ____cacheline_aligned ip_keydata[2];
-
-static unsigned int ip_cnt;
-
-static void rekey_seq_generator(struct work_struct *work);
-
-static DECLARE_DELAYED_WORK(rekey_work, rekey_seq_generator);
-
-/*
- * Lock avoidance:
- * The ISN generation runs lockless - it's just a hash over random data.
- * State changes happen every 5 minutes when the random key is replaced.
- * Synchronization is performed by having two copies of the hash function
- * state and rekey_seq_generator always updates the inactive copy.
- * The copy is then activated by updating ip_cnt.
- * The implementation breaks down if someone blocks the thread
- * that processes SYN requests for more than 5 minutes. Should never
- * happen, and even if that happens only a not perfectly compliant
- * ISN is generated, nothing fatal.
- */
-static void rekey_seq_generator(struct work_struct *work)
-{
- struct keydata *keyptr = &ip_keydata[1 ^ (ip_cnt & 1)];
-
- get_random_bytes(keyptr->secret, sizeof(keyptr->secret));
- keyptr->count = (ip_cnt & COUNT_MASK) << HASH_BITS;
- smp_wmb();
- ip_cnt++;
- schedule_delayed_work(&rekey_work,
- round_jiffies_relative(REKEY_INTERVAL));
-}
-
-static inline struct keydata *get_keyptr(void)
-{
- struct keydata *keyptr = &ip_keydata[ip_cnt & 1];
-
- smp_rmb();
-
- return keyptr;
-}
-
-static __init int seqgen_init(void)
-{
- rekey_seq_generator(NULL);
+ get_random_bytes(random_int_secret, sizeof(random_int_secret));
return 0;
}
-late_initcall(seqgen_init);
-
-#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
-__u32 secure_tcpv6_sequence_number(__be32 *saddr, __be32 *daddr,
- __be16 sport, __be16 dport)
-{
- __u32 seq;
- __u32 hash[12];
- struct keydata *keyptr = get_keyptr();
-
- /* The procedure is the same as for IPv4, but addresses are longer.
- * Thus we must use twothirdsMD4Transform.
- */
-
- memcpy(hash, saddr, 16);
- hash[4] = ((__force u16)sport << 16) + (__force u16)dport;
- memcpy(&hash[5], keyptr->secret, sizeof(__u32) * 7);
-
- seq = twothirdsMD4Transform((const __u32 *)daddr, hash) & HASH_MASK;
- seq += keyptr->count;
-
- seq += ktime_to_ns(ktime_get_real());
-
- return seq;
-}
-EXPORT_SYMBOL(secure_tcpv6_sequence_number);
-#endif
-
-/* The code below is shamelessly stolen from secure_tcp_sequence_number().
- * All blames to Andrey V. Savochkin <saw@msu.ru>.
- */
-__u32 secure_ip_id(__be32 daddr)
-{
- struct keydata *keyptr;
- __u32 hash[4];
-
- keyptr = get_keyptr();
-
- /*
- * Pick a unique starting offset for each IP destination.
- * The dest ip address is placed in the starting vector,
- * which is then hashed with random data.
- */
- hash[0] = (__force __u32)daddr;
- hash[1] = keyptr->secret[9];
- hash[2] = keyptr->secret[10];
- hash[3] = keyptr->secret[11];
-
- return half_md4_transform(hash, keyptr->secret);
-}
-
-#ifdef CONFIG_INET
-
-__u32 secure_tcp_sequence_number(__be32 saddr, __be32 daddr,
- __be16 sport, __be16 dport)
-{
- __u32 seq;
- __u32 hash[4];
- struct keydata *keyptr = get_keyptr();
-
- /*
- * Pick a unique starting offset for each TCP connection endpoints
- * (saddr, daddr, sport, dport).
- * Note that the words are placed into the starting vector, which is
- * then mixed with a partial MD4 over random data.
- */
- hash[0] = (__force u32)saddr;
- hash[1] = (__force u32)daddr;
- hash[2] = ((__force u16)sport << 16) + (__force u16)dport;
- hash[3] = keyptr->secret[11];
-
- seq = half_md4_transform(hash, keyptr->secret) & HASH_MASK;
- seq += keyptr->count;
- /*
- * As close as possible to RFC 793, which
- * suggests using a 250 kHz clock.
- * Further reading shows this assumes 2 Mb/s networks.
- * For 10 Mb/s Ethernet, a 1 MHz clock is appropriate.
- * For 10 Gb/s Ethernet, a 1 GHz clock should be ok, but
- * we also need to limit the resolution so that the u32 seq
- * overlaps less than one time per MSL (2 minutes).
- * Choosing a clock of 64 ns period is OK. (period of 274 s)
- */
- seq += ktime_to_ns(ktime_get_real()) >> 6;
-
- return seq;
-}
-
-/* Generate secure starting point for ephemeral IPV4 transport port search */
-u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport)
-{
- struct keydata *keyptr = get_keyptr();
- u32 hash[4];
-
- /*
- * Pick a unique starting offset for each ephemeral port search
- * (saddr, daddr, dport) and 48bits of random data.
- */
- hash[0] = (__force u32)saddr;
- hash[1] = (__force u32)daddr;
- hash[2] = (__force u32)dport ^ keyptr->secret[10];
- hash[3] = keyptr->secret[11];
-
- return half_md4_transform(hash, keyptr->secret);
-}
-EXPORT_SYMBOL_GPL(secure_ipv4_port_ephemeral);
-
-#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
-u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
- __be16 dport)
-{
- struct keydata *keyptr = get_keyptr();
- u32 hash[12];
-
- memcpy(hash, saddr, 16);
- hash[4] = (__force u32)dport;
- memcpy(&hash[5], keyptr->secret, sizeof(__u32) * 7);
-
- return twothirdsMD4Transform((const __u32 *)daddr, hash);
-}
-#endif
-
-#if defined(CONFIG_IP_DCCP) || defined(CONFIG_IP_DCCP_MODULE)
-/* Similar to secure_tcp_sequence_number but generate a 48 bit value
- * bit's 32-47 increase every key exchange
- * 0-31 hash(source, dest)
- */
-u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
- __be16 sport, __be16 dport)
-{
- u64 seq;
- __u32 hash[4];
- struct keydata *keyptr = get_keyptr();
-
- hash[0] = (__force u32)saddr;
- hash[1] = (__force u32)daddr;
- hash[2] = ((__force u16)sport << 16) + (__force u16)dport;
- hash[3] = keyptr->secret[11];
-
- seq = half_md4_transform(hash, keyptr->secret);
- seq |= ((u64)keyptr->count) << (32 - HASH_BITS);
-
- seq += ktime_to_ns(ktime_get_real());
- seq &= (1ull << 48) - 1;
-
- return seq;
-}
-EXPORT_SYMBOL(secure_dccp_sequence_number);
-#endif
-
-#endif /* CONFIG_INET */
-
+late_initcall(random_int_secret_init);
/*
* Get a random word for internal kernel use only. Similar to urandom but
@@ -1626,17 +1310,15 @@ EXPORT_SYMBOL(secure_dccp_sequence_number);
* value is not cryptographically secure but for several uses the cost of
* depleting entropy is too high
*/
-DEFINE_PER_CPU(__u32 [4], get_random_int_hash);
+DEFINE_PER_CPU(__u32 [MD5_DIGEST_WORDS], get_random_int_hash);
unsigned int get_random_int(void)
{
- struct keydata *keyptr;
__u32 *hash = get_cpu_var(get_random_int_hash);
- int ret;
+ unsigned int ret;
- keyptr = get_keyptr();
hash[0] += current->pid + jiffies + get_cycles();
-
- ret = half_md4_transform(hash, keyptr->secret);
+ md5_transform(hash, random_int_secret);
+ ret = hash[0];
put_cpu_var(get_random_int_hash);
return ret;
diff --git a/include/linux/random.h b/include/linux/random.h
index 25d02fe..2948046 100644
--- a/include/linux/random.h
+++ b/include/linux/random.h
@@ -53,17 +53,6 @@ extern void add_interrupt_randomness(int irq);
extern void get_random_bytes(void *buf, int nbytes);
void generate_random_uuid(unsigned char uuid_out[16]);
-extern __u32 secure_ip_id(__be32 daddr);
-extern u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
-extern u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
- __be16 dport);
-extern __u32 secure_tcp_sequence_number(__be32 saddr, __be32 daddr,
- __be16 sport, __be16 dport);
-extern __u32 secure_tcpv6_sequence_number(__be32 *saddr, __be32 *daddr,
- __be16 sport, __be16 dport);
-extern u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
- __be16 sport, __be16 dport);
-
#ifndef MODULE
extern const struct file_operations random_fops, urandom_fops;
#endif
diff --git a/include/net/secure_seq.h b/include/net/secure_seq.h
new file mode 100644
index 0000000..d97f689
--- /dev/null
+++ b/include/net/secure_seq.h
@@ -0,0 +1,20 @@
+#ifndef _NET_SECURE_SEQ
+#define _NET_SECURE_SEQ
+
+#include <linux/types.h>
+
+extern __u32 secure_ip_id(__be32 daddr);
+extern __u32 secure_ipv6_id(const __be32 daddr[4]);
+extern u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
+extern u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
+ __be16 dport);
+extern __u32 secure_tcp_sequence_number(__be32 saddr, __be32 daddr,
+ __be16 sport, __be16 dport);
+extern __u32 secure_tcpv6_sequence_number(__be32 *saddr, __be32 *daddr,
+ __be16 sport, __be16 dport);
+extern u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
+ __be16 sport, __be16 dport);
+extern u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr,
+ __be16 sport, __be16 dport);
+
+#endif /* _NET_SECURE_SEQ */
diff --git a/net/core/Makefile b/net/core/Makefile
index 08791ac..1e8ca3c 100644
--- a/net/core/Makefile
+++ b/net/core/Makefile
@@ -3,7 +3,7 @@
#
obj-y := sock.o request_sock.o skbuff.o iovec.o datagram.o stream.o scm.o \
- gen_stats.o gen_estimator.o net_namespace.o
+ gen_stats.o gen_estimator.o net_namespace.o secure_seq.o
obj-$(CONFIG_SYSCTL) += sysctl_net_core.o
diff --git a/net/core/secure_seq.c b/net/core/secure_seq.c
new file mode 100644
index 0000000..45329d7
--- /dev/null
+++ b/net/core/secure_seq.c
@@ -0,0 +1,184 @@
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/cryptohash.h>
+#include <linux/module.h>
+#include <linux/cache.h>
+#include <linux/random.h>
+#include <linux/hrtimer.h>
+#include <linux/ktime.h>
+#include <linux/string.h>
+
+#include <net/secure_seq.h>
+
+static u32 net_secret[MD5_MESSAGE_BYTES / 4] ____cacheline_aligned;
+
+static int __init net_secret_init(void)
+{
+ get_random_bytes(net_secret, sizeof(net_secret));
+ return 0;
+}
+late_initcall(net_secret_init);
+
+static u32 seq_scale(u32 seq)
+{
+ /*
+ * As close as possible to RFC 793, which
+ * suggests using a 250 kHz clock.
+ * Further reading shows this assumes 2 Mb/s networks.
+ * For 10 Mb/s Ethernet, a 1 MHz clock is appropriate.
+ * For 10 Gb/s Ethernet, a 1 GHz clock should be ok, but
+ * we also need to limit the resolution so that the u32 seq
+ * overlaps less than one time per MSL (2 minutes).
+ * Choosing a clock of 64 ns period is OK. (period of 274 s)
+ */
+ return seq + (ktime_to_ns(ktime_get_real()) >> 6);
+}
+
+#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
+__u32 secure_tcpv6_sequence_number(__be32 *saddr, __be32 *daddr,
+ __be16 sport, __be16 dport)
+{
+ u32 secret[MD5_MESSAGE_BYTES / 4];
+ u32 hash[MD5_DIGEST_WORDS];
+ u32 i;
+
+ memcpy(hash, saddr, 16);
+ for (i = 0; i < 4; i++)
+ secret[i] = net_secret[i] + daddr[i];
+ secret[4] = net_secret[4] +
+ (((__force u16)sport << 16) + (__force u16)dport);
+ for (i = 5; i < MD5_MESSAGE_BYTES / 4; i++)
+ secret[i] = net_secret[i];
+
+ md5_transform(hash, secret);
+
+ return seq_scale(hash[0]);
+}
+EXPORT_SYMBOL(secure_tcpv6_sequence_number);
+
+u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
+ __be16 dport)
+{
+ u32 secret[MD5_MESSAGE_BYTES / 4];
+ u32 hash[MD5_DIGEST_WORDS];
+ u32 i;
+
+ memcpy(hash, saddr, 16);
+ for (i = 0; i < 4; i++)
+ secret[i] = net_secret[i] + (__force u32) daddr[i];
+ secret[4] = net_secret[4] + (__force u32)dport;
+ for (i = 5; i < MD5_MESSAGE_BYTES / 4; i++)
+ secret[i] = net_secret[i];
+
+ md5_transform(hash, secret);
+
+ return hash[0];
+}
+#endif
+
+#ifdef CONFIG_INET
+__u32 secure_ip_id(__be32 daddr)
+{
+ u32 hash[MD5_DIGEST_WORDS];
+
+ hash[0] = (__force __u32) daddr;
+ hash[1] = net_secret[13];
+ hash[2] = net_secret[14];
+ hash[3] = net_secret[15];
+
+ md5_transform(hash, net_secret);
+
+ return hash[0];
+}
+
+__u32 secure_ipv6_id(const __be32 daddr[4])
+{
+ __u32 hash[4];
+
+ memcpy(hash, daddr, 16);
+ md5_transform(hash, net_secret);
+
+ return hash[0];
+}
+
+__u32 secure_tcp_sequence_number(__be32 saddr, __be32 daddr,
+ __be16 sport, __be16 dport)
+{
+ u32 hash[MD5_DIGEST_WORDS];
+
+ hash[0] = (__force u32)saddr;
+ hash[1] = (__force u32)daddr;
+ hash[2] = ((__force u16)sport << 16) + (__force u16)dport;
+ hash[3] = net_secret[15];
+
+ md5_transform(hash, net_secret);
+
+ return seq_scale(hash[0]);
+}
+
+u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport)
+{
+ u32 hash[MD5_DIGEST_WORDS];
+
+ hash[0] = (__force u32)saddr;
+ hash[1] = (__force u32)daddr;
+ hash[2] = (__force u32)dport ^ net_secret[14];
+ hash[3] = net_secret[15];
+
+ md5_transform(hash, net_secret);
+
+ return hash[0];
+}
+EXPORT_SYMBOL_GPL(secure_ipv4_port_ephemeral);
+#endif
+
+#if defined(CONFIG_IP_DCCP) || defined(CONFIG_IP_DCCP_MODULE)
+u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
+ __be16 sport, __be16 dport)
+{
+ u32 hash[MD5_DIGEST_WORDS];
+ u64 seq;
+
+ hash[0] = (__force u32)saddr;
+ hash[1] = (__force u32)daddr;
+ hash[2] = ((__force u16)sport << 16) + (__force u16)dport;
+ hash[3] = net_secret[15];
+
+ md5_transform(hash, net_secret);
+
+ seq = hash[0] | (((u64)hash[1]) << 32);
+ seq += ktime_to_ns(ktime_get_real());
+ seq &= (1ull << 48) - 1;
+
+ return seq;
+}
+EXPORT_SYMBOL(secure_dccp_sequence_number);
+
+#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
+u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr,
+ __be16 sport, __be16 dport)
+{
+ u32 secret[MD5_MESSAGE_BYTES / 4];
+ u32 hash[MD5_DIGEST_WORDS];
+ u64 seq;
+ u32 i;
+
+ memcpy(hash, saddr, 16);
+ for (i = 0; i < 4; i++)
+ secret[i] = net_secret[i] + daddr[i];
+ secret[4] = net_secret[4] +
+ (((__force u16)sport << 16) + (__force u16)dport);
+ for (i = 5; i < MD5_MESSAGE_BYTES / 4; i++)
+ secret[i] = net_secret[i];
+
+ md5_transform(hash, secret);
+
+ seq = hash[0] | (((u64)hash[1]) << 32);
+ seq += ktime_to_ns(ktime_get_real());
+ seq &= (1ull << 48) - 1;
+
+ return seq;
+}
+EXPORT_SYMBOL(secure_dccpv6_sequence_number);
+#endif
+#endif
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 52ffa1c..e072e01 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -26,6 +26,7 @@
#include <net/timewait_sock.h>
#include <net/tcp_states.h>
#include <net/xfrm.h>
+#include <net/secure_seq.h>
#include "ackvec.h"
#include "ccid.h"
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c
index 3b11e41..fec7de6 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -29,6 +29,7 @@
#include <net/transp_v6.h>
#include <net/ip6_checksum.h>
#include <net/xfrm.h>
+#include <net/secure_seq.h>
#include "dccp.h"
#include "ipv6.h"
@@ -70,13 +71,7 @@ static inline void dccp_v6_send_check(struct sock *sk, int unused_value,
dh->dccph_checksum = dccp_v6_csum_finish(skb, &np->saddr, &np->daddr);
}
-static inline __u32 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr,
- __be16 sport, __be16 dport )
-{
- return secure_tcpv6_sequence_number(saddr, daddr, sport, dport);
-}
-
-static inline __u32 dccp_v6_init_sequence(struct sk_buff *skb)
+static inline __u64 dccp_v6_init_sequence(struct sk_buff *skb)
{
return secure_dccpv6_sequence_number(ipv6_hdr(skb)->daddr.s6_addr32,
ipv6_hdr(skb)->saddr.s6_addr32,
diff --git a/net/ipv4/inet_hashtables.c b/net/ipv4/inet_hashtables.c
index 2b79377..7da0827 100644
--- a/net/ipv4/inet_hashtables.c
+++ b/net/ipv4/inet_hashtables.c
@@ -21,6 +21,7 @@
#include <net/inet_connection_sock.h>
#include <net/inet_hashtables.h>
+#include <net/secure_seq.h>
#include <net/ip.h>
/*
diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c
index 6bcfe52..5639e05 100644
--- a/net/ipv4/inetpeer.c
+++ b/net/ipv4/inetpeer.c
@@ -19,6 +19,7 @@
#include <linux/net.h>
#include <net/ip.h>
#include <net/inetpeer.h>
+#include <net/secure_seq.h>
/*
* Theory of operations.
diff --git a/net/ipv4/netfilter/nf_nat_proto_common.c b/net/ipv4/netfilter/nf_nat_proto_common.c
index 6c4f11f..2d5073a 100644
--- a/net/ipv4/netfilter/nf_nat_proto_common.c
+++ b/net/ipv4/netfilter/nf_nat_proto_common.c
@@ -12,6 +12,7 @@
#include <linux/ip.h>
#include <linux/netfilter.h>
+#include <net/secure_seq.h>
#include <net/netfilter/nf_nat.h>
#include <net/netfilter/nf_nat_core.h>
#include <net/netfilter/nf_nat_rule.h>
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 325b43c..c57dead 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -108,6 +108,7 @@
#ifdef CONFIG_SYSCTL
#include <linux/sysctl.h>
#endif
+#include <net/secure_seq.h>
#define RT_FL_TOS(oldflp) \
((u32)(oldflp->fl4_tos & (IPTOS_RT_MASK | RTO_ONLINK)))
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index ea51c2f..ab71655 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -72,6 +72,7 @@
#include <net/timewait_sock.h>
#include <net/xfrm.h>
#include <net/netdma.h>
+#include <net/secure_seq.h>
#include <linux/inet.h>
#include <linux/ipv6.h>
diff --git a/net/ipv6/inet6_hashtables.c b/net/ipv6/inet6_hashtables.c
index 633a6c2..b7c125f 100644
--- a/net/ipv6/inet6_hashtables.c
+++ b/net/ipv6/inet6_hashtables.c
@@ -20,6 +20,7 @@
#include <net/inet_connection_sock.h>
#include <net/inet_hashtables.h>
#include <net/inet6_hashtables.h>
+#include <net/secure_seq.h>
#include <net/ip.h>
int __inet6_hash(struct sock *sk, struct inet_timewait_sock *tw)
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 075f540..d854453 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -61,6 +61,7 @@
#include <net/timewait_sock.h>
#include <net/netdma.h>
#include <net/inet_common.h>
+#include <net/secure_seq.h>
#include <asm/uaccess.h>
--
1.7.9.6
next prev parent reply other threads:[~2012-05-15 2:33 UTC|newest]
Thread overview: 190+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 2:11 [34-longterm 000/179] v2.6.34.12 longterm review Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 001/179] ftrace: Only update the function code on write to filter files Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 002/179] kmemleak: Do not return a pointer to an object that kmemleak did not get Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 003/179] CPU hotplug, re-create sysfs directory and symlinks Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 004/179] Fix memory leak in cpufreq_stat Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 005/179] powerpc/kexec: Fix memory corruption from unallocated slaves Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 006/179] powerpc/oprofile: Handle events that raise an exception without overflowing Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 007/179] block: add proper state guards to __elv_next_request Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 008/179] mtd: mtdconcat: fix NAND OOB write Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 009/179] x86, 64-bit: Fix copy_[to/from]_user() checks for the userspace address limit Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 010/179] ext3: Fix fs corruption when make_indexed_dir() fails Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 011/179] jbd: Fix forever sleeping process in do_get_write_access() Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 012/179] jbd: fix fsync() tid wraparound bug Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 013/179] ext4: release page cache in ext4_mb_load_buddy error path Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 014/179] Fix Ultrastor asm snippet Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 015/179] x86, amd: Use _safe() msr access for GartTlbWlk disable code Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 016/179] rcu: Fix unpaired rcu_irq_enter() from locking selftests Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 017/179] staging: usbip: fix wrong endian conversion Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 018/179] seqlock: Don't smp_rmb in seqlock reader spin loop Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 019/179] ALSA: HDA: Use one dmic only for Dell Studio 1558 Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 020/179] ASoC: Ensure output PGA is enabled for line outputs in wm_hubs Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 021/179] ASoC: Add some missing volume update bit sets for wm_hubs devices Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 022/179] mm/page_alloc.c: prevent unending loop in __alloc_pages_slowpath() Paul Gortmaker
2012-05-15 2:11 ` [34-longterm 023/179] loop: limit 'max_part' module param to DISK_MAX_PARTS Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 024/179] loop: handle on-demand devices correctly Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 025/179] USB: CP210x Add 4 Device IDs for AC-Services Devices Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 026/179] USB: moto_modem: Add USB identifier for the Motorola VE240 Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 027/179] USB: serial: ftdi_sio: adding support for TavIR STK500 Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 028/179] USB: gamin_gps: Fix for data transfer problems in native mode Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 029/179] usb/gadget: at91sam9g20 fix end point max packet size Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 030/179] usb: gadget: rndis: don't test against req->length Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 031/179] xhci: Fix full speed bInterval encoding Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 032/179] p54usb: add zoom 4410 usbid Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 033/179] eCryptfs: Allow 2 scatterlist entries for encrypted filenames Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 034/179] UBIFS: fix a rare memory leak in ro to rw remounting path Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 035/179] i8k: Avoid lahf in 64-bit code Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 036/179] cpuidle: menu: fixed wrapping timers at 4.294 seconds Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 037/179] dm table: reject devices without request fns Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 038/179] atm: expose ATM device index in sysfs Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 039/179] brd: limit 'max_part' module param to DISK_MAX_PARTS Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 040/179] brd: handle on-demand devices correctly Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 041/179] SUNRPC: Deal with the lack of a SYN_SENT sk->sk_state_change callback Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 042/179] PCI: Add quirk for setting valid class for TI816X Endpoint Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 043/179] xen mmu: fix a race window causing leave_mm BUG() Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 044/179] UBIFS: fix shrinker object count reports Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 045/179] UBIFS: fix memory leak on error path Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 046/179] nbd: limit module parameters to a sane value Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 047/179] block: export blk_{get,put}_queue() Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 048/179] Fix oops caused by queue refcounting failure Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 049/179] mm: fix ENOSPC returned by handle_mm_fault() Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 050/179] PCI: Set PCIE maxpayload for card during hotplug insertion Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 051/179] nl80211: fix check for valid SSID size in scan operations Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 052/179] lockdep: Fix lock_is_held() on recursion Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 053/179] drm/i915: Add a no lvds quirk for the Asus EeeBox PC EB1007 Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 054/179] drm/radeon/kms: fix for radeon on systems >4GB without hardware iommu Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 055/179] fat: Fix corrupt inode flags when remove ATTR_SYS flag Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 056/179] xen: off by one errors in multicalls.c Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 057/179] x86/amd-iommu: Fix 3 possible endless loops Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 058/179] USB: cdc-acm: Adding second ACM channel support for Nokia E7 and C7 Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 059/179] USB: core: Tolerate protocol stall during hub and port status read Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 060/179] USB: serial: add another 4N-GALAXY.DE PID to ftdi_sio driver Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 061/179] USB: xhci - fix interval calculation for FS isoc endpoints Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 062/179] oprofile, dcookies: Fix possible circular locking dependency Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 063/179] Remove cpufreq_stats sysfs entries on module unload Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 064/179] md: check ->hot_remove_disk when removing disk Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 065/179] md/raid5: fix raid5_set_bi_hw_segments Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 066/179] md/raid5: fix FUA request handling in ops_run_io() Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 067/179] pata_cm64x: fix boot crash on parisc Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 068/179] xfs: properly account for reclaimed inodes Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 069/179] exec: delay address limit change until point of no return Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 070/179] netfilter: IPv6: initialize TOS field in REJECT target module Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 071/179] netfilter: IPv6: fix DSCP mangle code Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 072/179] xen: events: do not unmask event channels on resume Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 073/179] genirq: Add IRQF_FORCE_RESUME Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 074/179] xen: Use IRQF_FORCE_RESUME Paul Gortmaker
2012-05-15 5:02 ` Jonathan Nieder
2012-05-15 16:33 ` Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 075/179] time: Compensate for rounding on odd-frequency clocksources Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 076/179] ksm: fix NULL pointer dereference in scan_get_next_rmap_item() Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 077/179] migrate: don't account swapcache as shmem Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 078/179] xen: partially revert "xen: set max_pfn_mapped to the last pfn mapped" Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 079/179] clocksource: Make watchdog robust vs. interruption Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 080/179] TTY: ldisc, do not close until there are readers Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 081/179] xhci: Reject double add of active endpoints Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 082/179] PM: Free memory bitmaps if opening /dev/snapshot fails Paul Gortmaker
2012-05-15 2:12 ` [34-longterm 083/179] ath5k: fix memory leak when fewer than N_PD_CURVES are in use Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 084/179] mm: fix negative commitlimit when gigantic hugepages are allocated Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 085/179] uvcvideo: Remove buffers from the queues when freeing Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 086/179] watchdog: mtx1-wdt: request gpio before using it Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 087/179] debugobjects: Fix boot crash when kmemleak and debugobjects enabled Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 088/179] cfq-iosched: fix locking around ioc->ioc_data assignment Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 089/179] cfq-iosched: fix a rcu warning Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 090/179] i2c-taos-evm: Fix log messages Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 091/179] md: avoid endless recovery loop when waiting for fail device to complete Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 092/179] SUNRPC: Ensure the RPC client only quits on fatal signals Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 093/179] 6pack,mkiss: fix lock inconsistency Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 094/179] USB: don't let errors prevent system sleep Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 095/179] USB: don't let the hub driver " Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 096/179] uml: fix CONFIG_STATIC_LINK=y build failure with newer glibc Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 097/179] PM / Hibernate: Avoid hitting OOM during preallocation of memory Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 098/179] PM / Hibernate: Fix free_unnecessary_pages() Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 099/179] bug.h: Add WARN_RATELIMIT Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 100/179] net: filter: Use WARN_RATELIMIT Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 101/179] af_packet: prevent information leak Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 102/179] net/ipv4: Check for mistakenly passed in non-IPv4 address Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 103/179] ipv6/udp: Use the correct variable to determine non-blocking condition Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 104/179] udp/recvmsg: Clear MSG_TRUNC flag when starting over for a new packet Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 105/179] mm: prevent concurrent unmap_mapping_range() on the same inode Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 106/179] ASoC: Fix Blackfin I2S _pointer() implementation return in bounds values Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 107/179] v4l2-ioctl.c: prefill tuner type for g_frequency and g/s_tuner Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 108/179] pvrusb2: fix g/s_tuner support Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 109/179] bttv: fix s_tuner for radio Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 110/179] NFSv4.1: update nfs4_fattr_bitmap_maxsz Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 111/179] SUNRPC: Fix a race between work-queue and rpc_killall_tasks Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 112/179] SUNRPC: Fix use of static variable in rpcb_getport_async Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 113/179] si4713-i2c: avoid potential buffer overflow on si4713 Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 114/179] hwmon: (max1111) Fix race condition causing NULL pointer exception Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 115/179] bridge: send proper message_age in config BPDU Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 116/179] davinci: DM365 EVM: fix video input mux bits Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 117/179] libata: fix unexpectedly frozen port after ata_eh_reset() Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 118/179] x86: Make Dell Latitude E5420 use reboot=pci Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 119/179] USB: pl2303.h: checkpatch cleanups Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 120/179] USB: serial: add IDs for WinChipHead USB->RS232 adapter Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 121/179] staging: comedi: fix infoleak to userspace Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 122/179] USB: OHCI: fix another regression for NVIDIA controllers Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 123/179] ARM: pxa/cm-x300: fix V3020 RTC functionality Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 124/179] jme: Fix unmap error (Causing system freeze) Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 125/179] libsas: remove expander from dev list on error Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 126/179] mac80211: Restart STA timers only on associated state Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 127/179] Blacklist Traxdata CDR4120 and IOMEGA Zip drive to avoid lock ups Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 128/179] ses: requesting a fault indication Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 129/179] pmcraid: reject negative request size Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 130/179] kexec, x86: Fix incorrect jump back address if not preserving context Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 131/179] powerpc/kdump: Fix timeout in crash_kexec_wait_realmode Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 132/179] PCI: ARI is a PCIe v2 feature Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 133/179] cciss: do not attempt to read from a write-only register Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 134/179] xtensa: prevent arbitrary read in ptrace Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 135/179] ext3: Fix oops in ext3_try_to_allocate_with_rsv() Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 136/179] svcrpc: fix list-corrupting race on nfsd shutdown Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 137/179] EHCI: only power off port if over-current is active Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 138/179] EHCI: fix direction handling for interrupt data toggles Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 139/179] powerpc/pseries/hvconsole: Fix dropped console output Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 140/179] cifs: clean up cifs_find_smb_ses (try #2) Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 141/179] cifs: fix NULL pointer dereference in cifs_find_smb_ses Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 142/179] cifs: check for NULL session password Paul Gortmaker
2012-05-15 2:13 ` [34-longterm 143/179] alpha: fix several security issues Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 144/179] proc: restrict access to /proc/PID/io Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 145/179] ALSA: sound/core/pcm_compat.c: adjust array index Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 146/179] dm mpath: fix potential NULL pointer in feature arg processing Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 147/179] dm: fix idr leak on module removal Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 148/179] x86: Hpet: Avoid the comparator readback penalty Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 149/179] x86: HPET: Chose a paranoid safe value for the ETIME check Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 150/179] crypto: Move md5_transform to lib/md5.c Paul Gortmaker
2012-05-15 2:14 ` Paul Gortmaker [this message]
2012-05-15 2:14 ` [34-longterm 152/179] ALSA: timer - Fix Oops at closing slave timer Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 153/179] ALSA: snd-usb-caiaq: Fix keymap for RigKontrol3 Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 154/179] powerpc: Fix device tree claim code Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 155/179] powerpc: pseries: Fix kexec on machines with more than 4TB of RAM Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 156/179] USB: xhci: fix OS want to own HC Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 157/179] USB: assign instead of equal in usbtmc.c Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 158/179] USB: usb-storage: unusual_devs entry for ARM V2M motherboard Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 159/179] USB: Serial: Added device ID for Qualcomm Modem in Sagemcom's HiLo3G Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 160/179] atm: br2864: sent packets truncated in VC routed mode Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 161/179] hwmon: (ibmaem) add missing kfree Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 162/179] ALSA: snd-usb-caiaq: Correct offset fields of outbound iso_frame_desc Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 163/179] mm: fix wrong vmap address calculations with odd NR_CPUS values Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 164/179] perf tools: do not look at ./config for configuration Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 165/179] ALSA: snd_usb_caiaq: track submitted output urbs Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 166/179] ALSA: ac97: Add HP Compaq dc5100 SFF(PT003AW) to Headphone Jack Sense whitelist Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 167/179] futex: Fix regression with read only mappings Paul Gortmaker
2012-05-15 4:38 ` Hugh Dickins
2012-05-15 10:51 ` Peter Zijlstra
2012-05-15 16:02 ` Paul Gortmaker
2012-05-15 18:55 ` Willy Tarreau
2012-05-15 2:14 ` [34-longterm 168/179] x86-32, vdso: On system call restart after SYSENTER, use int $0x80 Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 169/179] x86, UV: Remove UV delay in starting slave cpus Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 170/179] drm/ttm: fix ttm_bo_add_ttm(user) failure path Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 171/179] fuse: check size of FUSE_NOTIFY_INVAL_ENTRY message Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 172/179] igb: Fix lack of flush after register write and before delay Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 173/179] tty: Make tiocgicount a handler Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 174/179] tty: icount changeover for other main devices Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 175/179] nozomi: Fix warning from the previous TIOCGCOUNT changes Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 176/179] tty: fix warning in synclink driver Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 177/179] score: fix off-by-one index into syscall table Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 178/179] x86/PCI: use host bridge _CRS info on MSI MS-7253 Paul Gortmaker
2012-05-15 2:14 ` [34-longterm 179/179] x86/PCI: do not tie MSI MS-7253 use_crs quirk to BIOS version Paul Gortmaker
2012-05-15 14:44 ` Alan Cox
2012-05-15 14:47 ` Alan Cox
2012-05-15 16:03 ` Paul Gortmaker
2012-05-15 3:01 ` [34-longterm 000/179] v2.6.34.12 longterm review Paul Gortmaker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337048075-6132-152-git-send-email-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome