diff for duplicates of <20120721075518.GY31729@ZenIV.linux.org.uk> diff --git a/a/1.txt b/N1/1.txt index ca16aa1..8a9da82 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -3,8 +3,8 @@ there's this piece of code in iscsi: /* * The SCTP stack needs struct socket->file. */ - if ((np->np_network_transport = ISCSI_SCTP_TCP) || - (np->np_network_transport = ISCSI_SCTP_UDP)) { + if ((np->np_network_transport == ISCSI_SCTP_TCP) || + (np->np_network_transport == ISCSI_SCTP_UDP)) { if (!new_sock->file) { new_sock->file = kzalloc( sizeof(struct file), GFP_KERNEL); @@ -94,8 +94,8 @@ index a3656c9..ae30424 100644 /* - * The SCTP stack needs struct socket->file. - */ -- if ((np->np_network_transport = ISCSI_SCTP_TCP) || -- (np->np_network_transport = ISCSI_SCTP_UDP)) { +- if ((np->np_network_transport == ISCSI_SCTP_TCP) || +- (np->np_network_transport == ISCSI_SCTP_UDP)) { - if (!sock->file) { - sock->file = kzalloc(sizeof(struct file), GFP_KERNEL); - if (!sock->file) { @@ -150,8 +150,8 @@ index a3656c9..ae30424 100644 - /* - * The SCTP stack needs struct socket->file. - */ -- if ((np->np_network_transport = ISCSI_SCTP_TCP) || -- (np->np_network_transport = ISCSI_SCTP_UDP)) { +- if ((np->np_network_transport == ISCSI_SCTP_TCP) || +- (np->np_network_transport == ISCSI_SCTP_UDP)) { - if (!new_sock->file) { - new_sock->file = kzalloc( - sizeof(struct file), GFP_KERNEL); diff --git a/a/content_digest b/N1/content_digest index 3e3593b..d2e1c36 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\020120720.112337.474955511809249636.davem@davemloft.net\0" "From\0Al Viro <viro@zeniv.linux.org.uk>\0" "Subject\0Re: [PATCH] Crash in tun\0" - "Date\0Sat, 21 Jul 2012 07:55:18 +0000\0" + "Date\0Sat, 21 Jul 2012 08:55:18 +0100\0" "To\0David Miller <davem@davemloft.net>\0" "Cc\0mikulas@artax.karlin.mff.cuni.cz" eric.dumazet@gmail.com @@ -20,8 +20,8 @@ " /*\n" " * The SCTP stack needs struct socket->file.\n" " */\n" - " if ((np->np_network_transport = ISCSI_SCTP_TCP) ||\n" - " (np->np_network_transport = ISCSI_SCTP_UDP)) {\n" + " if ((np->np_network_transport == ISCSI_SCTP_TCP) ||\n" + " (np->np_network_transport == ISCSI_SCTP_UDP)) {\n" " if (!new_sock->file) {\n" " new_sock->file = kzalloc(\n" " sizeof(struct file), GFP_KERNEL);\n" @@ -111,8 +111,8 @@ " \t/*\n" "-\t * The SCTP stack needs struct socket->file.\n" "-\t */\n" - "-\tif ((np->np_network_transport = ISCSI_SCTP_TCP) ||\n" - "-\t (np->np_network_transport = ISCSI_SCTP_UDP)) {\n" + "-\tif ((np->np_network_transport == ISCSI_SCTP_TCP) ||\n" + "-\t (np->np_network_transport == ISCSI_SCTP_UDP)) {\n" "-\t\tif (!sock->file) {\n" "-\t\t\tsock->file = kzalloc(sizeof(struct file), GFP_KERNEL);\n" "-\t\t\tif (!sock->file) {\n" @@ -167,8 +167,8 @@ "-\t/*\n" "-\t * The SCTP stack needs struct socket->file.\n" "-\t */\n" - "-\tif ((np->np_network_transport = ISCSI_SCTP_TCP) ||\n" - "-\t (np->np_network_transport = ISCSI_SCTP_UDP)) {\n" + "-\tif ((np->np_network_transport == ISCSI_SCTP_TCP) ||\n" + "-\t (np->np_network_transport == ISCSI_SCTP_UDP)) {\n" "-\t\tif (!new_sock->file) {\n" "-\t\t\tnew_sock->file = kzalloc(\n" "-\t\t\t\t\tsizeof(struct file), GFP_KERNEL);\n" @@ -222,4 +222,4 @@ " \n" " \tif (tpg) {" -2f88e852d015f0202619a2ad0309b3a096d6ccbda1ae1227d804a3d132329398 +ba374c288030d4bbce8878fc2ad3c9efe1b7faf380a3a6e3807693b7e688ab6f
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.