lkml.org 
[lkml]   [2016]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [PATCH net 01/10] net: hns: bug fix about ping6
From
From: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Date: Mon, 21 Mar 2016 19:06:32 +0800

> From: Kejian Yan <yankejian@huawei.com>
>
> The current upstreaming code fails to ping other IPv6 net device, because
> the enet receives the multicast packets with the src mac addr whick is the
^^^^^

"which"

> @@ -670,6 +671,14 @@ out_bnum_err:
> return -EFAULT;
> }
>
> + /* filter out multicast pkt with the same src mac as this port */
> + eh = (struct ethhdr *)skb->data;

Please use the "eth_hdr()" helper.

\
 
 \ /
  Last update: 2016-03-21 17:21    [W:0.149 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site