Subject: Re: [PATCH net 01/10] net: hns: bug fix about ping6

From: Yisen Zhuang <[email-masked]>
Date: Tue, 22 Mar 2016 08:46:10 +0800

在 2016/3/21 23:39, David Miller 写道:
> From: Yisen Zhuang <[email-masked]>
> Date: Mon, 21 Mar 2016 19:06:32 +0800
> 
>> From: Kejian Yan <[email-masked]>
>>
>> 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"

Will fix it in next submit.

Thanks

> 
>> @@ -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.

Will fix it in next submit.

Thanks,

Yisen

> .