lkml.org 
[lkml]   [2019]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [PATCH] net: dccp: Checksum verification considering skb->ip_summed
From
From: <Markus.Amend@telekom.de>
Date: Fri, 22 Mar 2019 14:34:58 +0000

> @@ -786,7 +787,8 @@ static int dccp_v4_rcv(struct sk_buff *skb)
>
> iph = ip_hdr(skb);
> /* Step 1: If header checksum is incorrect, drop packet and return */
> - if (dccp_v4_csum_finish(skb, iph->saddr, iph->daddr)) {
> + if (__skb_checksum_validate(skb, IPPROTO_DCCP,
> + true, false, 0, inet_compute_pseudo)) {

The arguments on the second and subsequent lines of a function call must
begin precisely at the first column after the openning parenthesis of
the first line of the function call.

You must use the appropriate number of TAB, then SPACE, characters
necessary to achieve this.

\
 
 \ /
  Last update: 2019-03-25 01:15    [W:0.031 / U:25.240 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site