Re: [REGRESSION] !PageLocked(page) assertion with tcpdump

From: Kirill A. Shutemov
Date: Wed Aug 10 2016 - 14:46:07 EST


On Wed, Aug 10, 2016 at 07:33:38AM -0700, Laura Abbott wrote:
> Hi,
>
> There have been several reports[1] of assertions tripping when using
> tcpdump on the latest master:
>
> [ 1013.718212] device wlp2s0 entered promiscuous mode
> [ 1013.736003] page:ffffea0004380000 count:2 mapcount:0 mapping:
> (null) index:0x0 compound_mapcount: 0
> [ 1013.736013] flags: 0x17ffffc0004000(head)
> [ 1013.736017] page dumped because: VM_BUG_ON_PAGE(!PageLocked(page))
> [ 1013.736044] ------------[ cut here ]------------
> [ 1013.736091] kernel BUG at mm/rmap.c:1288!

The patch below should do the trick.