]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Merge branch 'packet-fanout-unique-id'
authorDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 16:46:28 +0000 (12:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 16:46:28 +0000 (12:46 -0400)
commit6a32a44d1e3d10c79abd9ef59ee34b46e00f242b
tree34e3d06d74fadf19d137e48d674d4df77a55fe2a
parent69226896ad636b94f6d2e55d75ff21a29c4de83b
parent28be04f5c1c95bdf5614af19f7faf7d4fb781fa6
Merge branch 'packet-fanout-unique-id'

Mike Maloney says:

====================
packet: Add option to create new fanout group with unique id.

Fanout uses a per net global namespace. A process that intends to create a
new fanout group can accidentally join an existing group. It is
not possible to detect this.

Add a socket option to specify on the first call to
setsockopt(..., PACKET_FANOUT, ...) to ensure that a new group is created.
Also add tests.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>