RE: [PATCH net] ieee802154: fix one possible memleak in ca8210_dev_com_init

2020-07-21 Thread liujian (CE)
> -Original Message- > From: Stefan Schmidt [mailto:ste...@datenfreihafen.org] > Sent: Tuesday, July 21, 2020 4:35 PM > To: liujian (CE) ; h.mor...@cascoda.com; > alex.ar...@gmail.com; da...@davemloft.net; k...@kernel.org; > mar...@holtmann.or; netdev@vger.kernel

RE: [PATCH v2 net] ieee802154: fix one possible memleak in adf7242_probe

2020-07-20 Thread liujian (CE)
> -Original Message- > From: Stefan Schmidt [mailto:ste...@datenfreihafen.org] > Sent: Monday, July 20, 2020 10:16 PM > To: liujian (CE) ; michael.henner...@analog.com; > alex.ar...@gmail.com; da...@davemloft.net; k...@kernel.org; > k...@umn.edu; netdev@vger.kernel

RE: [PATCH net-next] dpaa_eth: Fix one possible memleak in dpaa_eth_probe

2020-07-20 Thread liujian (CE)
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Saturday, July 18, 2020 9:42 AM > To: liujian (CE) > Cc: madalin.bu...@nxp.com; k...@kernel.org; laurentiu.tu...@nxp.com; > netdev@vger.kernel.org > Subject: Re: [PATCH net-next] dpaa_

RE: [PATCH] net: bond: skip vlan header when do layer 3+4 hash policy

2018-04-02 Thread liujian (CE)
> -Original Message- > From: Nikolay Aleksandrov [mailto:niko...@cumulusnetworks.com] > Sent: Saturday, March 31, 2018 5:23 PM > To: liujian (CE) ; da...@davemloft.net; > j.vosbu...@gmail.com; vfal...@gmail.com; a...@greyhouse.net > Cc: netdev@vger.kernel.org; weiyongjun

Re: [PATCH net] tcp: update skb->skb_mstamp more carefully

2017-09-14 Thread liujian
On 2017/9/14 11:30, Eric Dumazet worte: > From: Eric Dumazet > > liujian reported a problem in TCP_USER_TIMEOUT processing with a patch > in tcp_probe_timer() : > https://www.spinics.net/lists/netdev/msg454496.html > > After investigations, the root cause of t

Re: [PATCH] tcp: TCP_USER_TIMEOUT can not work in tcp_probe_timer()

2017-09-13 Thread liujian
在 2017/9/13 14:56, liujian 写道: > > > 在 2017/9/12 23:38, Eric Dumazet 写道: >> On Tue, 2017-09-12 at 08:05 -0700, Eric Dumazet wrote: >>> On Tue, 2017-09-12 at 14:08 +0800, liujian wrote: >>>> Hi, >>>> >>>> In the scenario, tc

Re: [PATCH] tcp: TCP_USER_TIMEOUT can not work in tcp_probe_timer()

2017-09-12 Thread liujian
在 2017/9/12 23:38, Eric Dumazet 写道: > On Tue, 2017-09-12 at 08:05 -0700, Eric Dumazet wrote: >> On Tue, 2017-09-12 at 14:08 +0800, liujian wrote: >>> Hi, >>> >>> In the scenario, tcp server side IP changed, and at that memont, >>> users

Re: [PATCH] tcp: TCP_USER_TIMEOUT can not work in tcp_probe_timer()

2017-09-11 Thread liujian
Hi, In the scenario, tcp server side IP changed, and at that memont, userspace application still send data continuously; tcp_send_head(sk)'s timestamp always be refreshed. Here is the packetdrill script: 0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3 +0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR,

RE: [RFC PATCH] net: frag limit checks need to use percpu_counter_compare

2017-08-31 Thread liujian (CE)
Best Regards, liujian > -Original Message- > From: Michal Kubecek [mailto:mkube...@suse.cz] > Sent: Friday, September 01, 2017 12:24 AM > To: Jesper Dangaard Brouer > Cc: liujian (CE); netdev@vger.kernel.org; Florian Westphal > Subject: Re: [RFC PATCH] net: frag li

RE: Question about ip_defrag

2017-08-29 Thread liujian (CE)
Best Regards, liujian > -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Florian Westphal > Sent: Tuesday, August 29, 2017 9:47 PM > To: liujian (CE) > Cc: Florian Westphal; Jesper Dangaard Brouer; netd

RE: Question about ip_defrag

2017-08-29 Thread liujian (CE)
Best Regards, liujian > -Original Message- > From: liujian (CE) > Sent: Tuesday, August 29, 2017 3:39 PM > To: 'Florian Westphal' > Cc: Jesper Dangaard Brouer; da...@davemloft.net; kuz...@ms2.inr.ac.ru; > yoshf...@linux-ipv6.org; elena.reshet...@in

RE: Question about ip_defrag

2017-08-29 Thread liujian (CE)
> -Original Message- > From: Jesper Dangaard Brouer [mailto:bro...@redhat.com] > Sent: Tuesday, August 29, 2017 3:20 PM > To: Florian Westphal > Cc: liujian (CE); da...@davemloft.net; kuz...@ms2.inr.ac.ru; > yoshf...@linux-ipv6.org; elena.reshet...@intel.com; eduma...@go

RE: Question about ip_defrag

2017-08-29 Thread liujian (CE)
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Florian Westphal > Sent: Monday, August 28, 2017 10:01 PM > To: liujian (CE) > Cc: Jesper Dangaard Brouer; da...@davemloft.net; kuz...@ms2.inr.ac.ru; > yo

RE: Question about ip_defrag

2017-08-28 Thread liujian (CE)
eq, "FRAG: inuse %u memory %u\n", !!frag_mem, frag_mem); + seq_printf(seq, "FRAG: inuse %u memory %u, %u.\n", !!frag_mem, frag_mem, frag_mem_limit(&net->ipv4.frags)); return 0; } Best Regards, liujian > -Original Message- > From: liujian (CE) > Sent: Fr

RE: Question about ip_defrag

2017-08-24 Thread liujian (CE)
> -Original Message- > From: Jesper Dangaard Brouer [mailto:bro...@redhat.com] > Sent: Friday, August 25, 2017 2:59 AM > To: liujian (CE) > Cc: da...@davemloft.net; kuz...@ms2.inr.ac.ru; yoshf...@linux-ipv6.org; > elena.reshet...@intel.com; eduma...@google.com; netd

RE: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-24 Thread liujian (CE)
Hi Wang cong, After apply the patch, I did not hit the issue again. Thank you~ Best Regards, liujian > -Original Message- > From: Dingtianhong > Sent: Monday, July 24, 2017 9:29 AM > To: Cong Wang; liujian (CE) > Cc: Willem de Bruijn; Dave Jones; alexander.le...@ve

RE: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-23 Thread liujian (CE)
Hi I find it caused by below steps: 1. set tp_version to TPACKET_V3 and req->tp_block_nr to 1 2. set tp_block_nr to 0 Then pg_vec was freed, and we did not delete the timer? Best Regards, liujian > -Original Message- > From: liujian (CE) > Sent: Sunday, July 23, 2017

RE: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-23 Thread liujian (CE)
Hi, Do we need delete the v3 ring, when tp_version changed from TPACKET_V3 to TPACKET_V1 ? Best Regards, liujian > -Original Message- > From: liujian (CE) > Sent: Sunday, July 23, 2017 4:21 PM > To: 'Cong Wang'; Dingtianhong > Cc: Willem de Bruijn;

RE: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-23 Thread liujian (CE)
001fd6b60 R15: 01fd6b70 ORIG_RAX: 0036 CS: 0033 SS: 002b Best Regards, liujian > -Original Message- > From: Cong Wang [mailto:xiyou.wangc...@gmail.com] > Sent: Sunday, July 23, 2017 1:59 PM > To: Dingtianhong > Cc: liujian (CE); Willem de Brui

RE: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-22 Thread liujian (CE)
, blk_fill_in_prog = { counter = 0x0 crash> struct pgv 0x8801b31057a0 struct pgv { buffer = 0xa56b6b6b6b6b6b6b } Best Regards, liujian > -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Willem