diff for duplicates of <20180521155218.GC5489@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index 505c296..718a9d7 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -177,7 +177,7 @@ Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> > + if (addr_len < sizeof(uaddr->sa_family)) > + return -EINVAL; > + -> + if (uaddr->sa_family = AF_UNSPEC) +> + if (uaddr->sa_family == AF_UNSPEC) > + return -EOPNOTSUPP; > + > + return sctp_connect(sock->sk, uaddr, addr_len, flags); diff --git a/a/content_digest b/N1/content_digest index 1adf8d9..51bea9f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\04863916c3e574b0d860725466d7d4a2f445fbe5b.1526805550.git.lucien.xin@gmail.com\0" "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0" "Subject\0Re: [PATCH net] sctp: fix the issue that flags are ignored when using kernel_connect\0" - "Date\0Mon, 21 May 2018 15:52:18 +0000\0" + "Date\0Mon, 21 May 2018 12:52:18 -0300\0" "To\0Xin Long <lucien.xin@gmail.com>\0" "Cc\0network dev <netdev@vger.kernel.org>" linux-sctp@vger.kernel.org @@ -189,7 +189,7 @@ "> +\tif (addr_len < sizeof(uaddr->sa_family))\n" "> +\t\treturn -EINVAL;\n" "> +\n" - "> +\tif (uaddr->sa_family = AF_UNSPEC)\n" + "> +\tif (uaddr->sa_family == AF_UNSPEC)\n" "> +\t\treturn -EOPNOTSUPP;\n" "> +\n" "> +\treturn sctp_connect(sock->sk, uaddr, addr_len, flags);\n" @@ -223,4 +223,4 @@ "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" > -948df7943ae9ea2a87fdbf29133b9c2e8df0946adbd9cfb64dcdf0c6918b7dca +7fe129375f616e34e2ad5d5be94a8b58ec695be04384f07c992b57c63ab8f32e
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.