Skip to content

Tun fixes and netns migration

Eric W. Biederman netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 of 10 patches 1 replyIn review

9 of 10 patches are in this archive. The cover letter announces 10.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10tun: Remove unnecessary tun_get_by_namedrivers/net/tun.c+19 -550 replies
2/10tun: Fix races in tun_set_iffdrivers/net/tun.c+32 -160 replies
3/10tun: Use POLLERR not EBADF in tun_chr_polldrivers/net/tun.c+1 -10 replies
4/10tun: Introduce tun_filedrivers/net/tun.c+104 -520 replies
5/10tun: Grab the netns in open.drivers/net/tun.c+6 -40 replies
6/10tun: Make tun_net_xmit atomic wrt tun_attach && tun_detachdrivers/net/tun.c+17 -70 replies
7/10tun: Move read_wait into tun_filedrivers/net/tun.c+10 -80 replies
8/10tun: Fix races between tun_net_close and free_netdev.drivers/net/tun.c+48 -20 replies
9/10tun: There is no longer any need to deny changing network namespacesdrivers/net/tun.c+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/10] Tun fixes and netns migration

Having a tun device that can be migrated between network namespaces is interesting when setting up creative network topologies using network namespaces.

To get there requires some general clean and restructuring of the tun driver.

Eric