Re: [PATCH 1/3] net: introduce helper sendpage_ok() in include/linux/net.h

2020-08-15 Thread kernel test robot
Hi Coly, I love your patch! Yet something to improve: [auto build test ERROR on block/for-next] [also build test ERROR on net/master net-next/master ipvs/master linus/master v5.8 next-20200814] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

[PATCH 1/3] net: introduce helper sendpage_ok() in include/linux/net.h

2020-08-15 Thread Coly Li
The original problem was from nvme-over-tcp code, who mistakenly uses kernel_sendpage() to send pages allocated by __get_free_pages() without __GFP_COMP flag. Such pages don't have refcount (page_count is 0) on tail pages, sending them by kernel_sendpage() may trigger a kernel panic from a corrupte