From patchwork Sat Jun 11 18:41:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Frederic Sowa X-Patchwork-Id: 634096 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3rRnwQ0xXsz9sBX for ; Sun, 12 Jun 2016 04:42:46 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=stressinduktion.org header.i=@stressinduktion.org header.b=mK4uo4AI; dkim=pass (1024-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b=DY4q1D3T; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751987AbcFKSlt (ORCPT ); Sat, 11 Jun 2016 14:41:49 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55258 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751708AbcFKSls (ORCPT ); Sat, 11 Jun 2016 14:41:48 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3CC5020E21; Sat, 11 Jun 2016 14:41:47 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 11 Jun 2016 14:41:47 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= stressinduktion.org; h=cc:date:from:message-id:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=k1kbNxNhxut6xPADbJyNPVDJmb0 =; b=mK4uo4AIRfYoCLUImuIley+E3WAqqP9aZCinxXNN2nQ09rZG7HcFmjP2iZ4 c+jOQHeMTOf4sBlYzbKlwoIwtDBxCQdrrUorri+H3+etKAnMxoAD8kmdr83/yieS 3+2XYOul9Lz7jbbfVL7AT782erNvum/9ZqHBGqlIo1nlkfxw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-sasl-enc:x-sasl-enc; s=smtpout; bh=k1kbNxNhxut6xPADbJyNPVDJmb 0=; b=DY4q1D3TEXBmXxvwjV7Pg7pSPbpXDTljHDirkfldVG0LMMkSKm3+wZvDY4 DCqtGd4OunqEY5rd9AGXJ5HMVqrwvAHuAjHoFWMJ3bGk85hfhbfrlnKdE8R1D9xz PE+yP3gIKMWd2CdPd45mErsQXrs3eFdLEd16Z89Bk3vWO4odA= X-Sasl-enc: pdbdGrIzmw91WJxbOm5SCPcuBsUX3dWVbYAFg1/A6iva 1465670504 Received: from z.localhost.localdomain (unknown [213.55.184.214]) by mail.messagingengine.com (Postfix) with ESMTPA id 911F3CC023; Sat, 11 Jun 2016 14:41:42 -0400 (EDT) From: Hannes Frederic Sowa To: netdev@vger.kernel.org Cc: Florent Fourcot Subject: [PATCH net] ipv6: tcp: fix endianness annotation in tcp_v6_send_response Date: Sat, 11 Jun 2016 20:41:38 +0200 Message-Id: <1465670498-23896-1-git-send-email-hannes@stressinduktion.org> X-Mailer: git-send-email 2.5.5 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Cc: Florent Fourcot Fixes: 1d13a96c74fc ("ipv6: tcp: fix flowlabel value in ACK messages send from TIME_WAIT") Signed-off-by: Hannes Frederic Sowa --- net/ipv6/tcp_ipv6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index f36c2d076fce0d..2255d2bf5f6bdb 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -738,7 +738,7 @@ static const struct tcp_request_sock_ops tcp_request_sock_ipv6_ops = { static void tcp_v6_send_response(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, struct tcp_md5sig_key *key, int rst, - u8 tclass, u32 label) + u8 tclass, __be32 label) { const struct tcphdr *th = tcp_hdr(skb); struct tcphdr *t1; @@ -911,7 +911,7 @@ out: static void tcp_v6_send_ack(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, struct tcp_md5sig_key *key, u8 tclass, - u32 label) + __be32 label) { tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0, tclass, label);