summaryrefslogtreecommitdiff
path: root/ifpps.zsh
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2017-02-06 18:23:11 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-06 17:43:36 +0100
commit506e22f6feb39d793434b473b60c8a20ccd12995 (patch)
treeed0576c16270aad71a506b9ae5a6b469430a7807 /ifpps.zsh
parent8fd19eefa46b313673d6ba2a0194a68674ef5ea9 (diff)
trafgen: l3: Make possible to send frames via tun device
tun interface does not have Ethernet header so lets push Ethernet header only if device supports this. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ifpps.zsh')
0 files changed, 0 insertions, 0 deletions
48c1e5d0499def5273ecbc6472342d'>Diffstat (limited to 'Makefile')f88043831c7b8, prev=ffff8804380287d8, next=ffff88043831c7b8. And then produce this from bd_forget from kdevtmpfs evicting a block dev inode: list_del corruption. prev->next should be ffff8800bb83eb10, but was ffff88043831c7b8 This is a regression caused by commit c19b3b05 ("xfs: mode di_mode to vfs inode"). The issue is that xfs_inactive() frees the unlinked inode, and the above commit meant that this freeing zeroed the mode in the struct inode. The problem is that after evict() has called ->evict_inode, it expects the i_mode to be intact so that it can call bd_forget() or cd_forget() to drop the reference to the block device inode attached to the XFS inode. In reality, the only thing we do in xfs_fs_evict_inode() that is not generic is call xfs_inactive(). We can move the xfs_inactive() call to xfs_fs_destroy_inode() without any problems at all, and this will leave the VFS inode intact until it is completely done with it. So, remove xfs_fs_evict_inode(), and do the work it used to do in ->destroy_inode instead. cc: <stable@vger.kernel.org> # 4.6 Reported-by: Joe Lawrence <joe.lawrence@stratus.com> Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'Makefile')