linux-sctp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
diff for duplicates of <7cfd72e42b8b1cde268ad4062c96c08a56c4b14f.1603110316.git.lucien.xin@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index cc6093a..3b1afe0 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -42,7 +42,7 @@ index e1501e7..aa8e5b2 100644
 +	int family;
 +
 +	skb->transport_header += sizeof(struct udphdr);
-+	family = (ip_hdr(skb)->version = 4) ? AF_INET : AF_INET6;
++	family = (ip_hdr(skb)->version == 4) ? AF_INET : AF_INET6;
 +	sk = sctp_err_lookup(dev_net(skb->dev), family, skb, sctp_hdr(skb),
 +			     &asoc, &t);
 +	if (!sk)
diff --git a/a/content_digest b/N1/content_digest
index be48aba..c54b82b 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -23,7 +23,7 @@
   "Subject\0[PATCHv4 net-next 06/16] sctp: add encap_err_lookup for udp encap socks\0"
 ]
 [
-  "Date\0Mon, 19 Oct 2020 12:25:23 +0000\0"
+  "Date\0Mon, 19 Oct 2020 20:25:23 +0800\0"
 ]
 [
   "To\0network dev <netdev\@vger.kernel.org>",
@@ -89,7 +89,7 @@
   "+\tint family;\n",
   "+\n",
   "+\tskb->transport_header += sizeof(struct udphdr);\n",
-  "+\tfamily = (ip_hdr(skb)->version = 4) ? AF_INET : AF_INET6;\n",
+  "+\tfamily = (ip_hdr(skb)->version == 4) ? AF_INET : AF_INET6;\n",
   "+\tsk = sctp_err_lookup(dev_net(skb->dev), family, skb, sctp_hdr(skb),\n",
   "+\t\t\t     &asoc, &t);\n",
   "+\tif (!sk)\n",
@@ -122,4 +122,4 @@
   "2.1.0"
 ]
 
-f24fb7232afe70d2eefb59d8d2467bb93dcd13ccfdfe075d5415e8857729078c
+214909cb3e4839645cc0d802b95d1824646354031e8274bdf02849840c6f8a26

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).