RE: [PATCH net-next] skbuff: Add BUG_ON in skb_init.

2017-08-10 Thread Yuan, Linyu (NSB - CN/Shanghai)
Original this function have return value but not used, and check allocate result internal, When I change this function to void return, I add this BUG_ON. > -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Tonghao Zhang > Sent:

RE: [PATCH net-next] net: assign err to 0 at begin in do_setlink() function

2017-11-14 Thread Yuan, Linyu (NSB - CN/Shanghai)
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of David Miller > Sent: Wednesday, November 15, 2017 1:08 PM > To: cug...@163.com > Cc: netdev@vger.kernel.org; Yuan, Linyu (NSB - CN/Shanghai) > Subject: Re:

RE: [PATCH net-next] net: assign err to 0 at begin in do_setlink() function

2017-11-14 Thread Yuan, Linyu (NSB - CN/Shanghai)
Thanks, I will provide a new patch > -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of David Miller > Sent: Wednesday, November 15, 2017 1:20 PM > To: Yuan, Linyu (NSB - CN/Shanghai) > Cc: cug...@163.com; netd

RE: [PATCH net-next] net: dpaa: remove init which already done in per-cpu allocation

2017-10-30 Thread Yuan, Linyu (NSB - CN/Shanghai)
not change this function description. > -Original Message- > From: Madalin-cristian Bucur [mailto:madalin.bu...@nxp.com] > Sent: Monday, October 30, 2017 1:56 PM > To: Yuan, Linyu (NSB - CN/Shanghai); yuan linyu; netdev@vger.kernel.org; > gre...@linuxfoundation.org > Cc: Da

RE: [PATCH net-next] net: dpaa: remove init which already done in per-cpu allocation

2017-10-29 Thread Yuan, Linyu (NSB - CN/Shanghai)
http://elixir.free-electrons.com/linux/latest/source/mm/percpu.c#L1018 > -Original Message- > From: Madalin-cristian Bucur [mailto:madalin.bu...@nxp.com] > Sent: Monday, October 30, 2017 1:15 PM > To: Yuan, Linyu (NSB - CN/Shanghai); yuan linyu; netdev@vger.kernel.org &

RE: [PATCH net-next] net: dpaa: remove init which already done in per-cpu allocation

2017-10-29 Thread Yuan, Linyu (NSB - CN/Shanghai)
. Miller; Yuan, Linyu (NSB - CN/Shanghai) > Subject: RE: [PATCH net-next] net: dpaa: remove init which already done in > per-cpu allocation > > Hi Yuan, > > Can you please give more details about this change you are proposing? > > Regards, > Madalin > >

question about __netif_receive_skb_core() work on macvlan device

2018-01-04 Thread Yuan, Linyu (NSB - CN/Shanghai)
Hi, I have a question about __netif_receive_skb_core(), 1. create a macvlan device on a real ethernet device and configure a mac address to this macvlan device 2. create a AF_PACKET socket and bind to the real ethernet device in step 1 3. user application will receive packet which destination

RE: macvlan devices and vlan interaction

2018-01-29 Thread Yuan, Linyu (NSB - CN/Shanghai)
https://www.spinics.net/lists/netdev/msg476083.html I also have a macvlan device question, but get no answer. But my original thought is in __netif_receive_skb_core() we should check packet destination mac address, if it match macvlan device, change packet as receive from macvlan device, not

RE: WARNING in kobject_add_internal

2018-04-11 Thread Yuan, Linyu (NSB - CN/Shanghai)
Hi, I have a question, "can syzbot auto test each tree with newest changeset" ? > -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Dmitry Vyukov > Sent: Wednesday, April 11, 2018 10:58 PM > To: syzbot > Cc:

RE: [PATCH net-next 1/2] net: permit skb_segment on head_frag frag_list skb

2018-03-19 Thread Yuan, Linyu (NSB - CN/Shanghai)
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Yonghong Song > Sent: Tuesday, March 20, 2018 1:16 PM > To: eduma...@google.com; a...@fb.com; dan...@iogearbox.net; > dipt...@fb.com; netdev@vger.kernel.org > Cc:

RE: [PATCH net-next 1/2] net: permit skb_segment on head_frag frag_list skb

2018-03-20 Thread Yuan, Linyu (NSB - CN/Shanghai)
Sorry, I should not add "Here cause next BUG_ON always false." It cause misunderstanding, I just comment on BUG_ON in else branch. > -Original Message- > From: Yonghong Song [mailto:y...@fb.com] > Sent: Tuesday, March 20, 2018 1:54 PM > To: Yuan, Linyu (NSB