summaryrefslogtreecommitdiff
path: root/drivers/usb/c67x00/c67x00-drv.c
diff options
context:
space:
mode:
authorTheuns Verwoerd <Theuns.Verwoerd@alliedtelesis.co.nz>2017-01-31 12:23:46 +1300
committerDavid S. Miller <davem@davemloft.net>2017-02-01 11:53:23 -0500
commit160ca0142431c19386db976302fd4b07c587f651 (patch)
treee0969dbd871a4e024c1a7cad5ef09474b1d31ac4 /drivers/usb/c67x00/c67x00-drv.c
parent04cdf13e34e912dcab9a94f391e15b2c26dfd0a2 (diff)
rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink
Allow a master interface to be specified as one of the parameters when creating a new interface via rtnl_newlink. Previously this would require invoking interface creation, waiting for it to complete, and then separately binding that new interface to a master. In particular, this is used when creating a macvlan child interface for VRRP in a VRF configuration, allowing the interface creator to specify directly what master interface should be inherited by the child, without having to deal with asynchronous complications and potential race conditions. Signed-off-by: Theuns Verwoerd <theuns.verwoerd@alliedtelesis.co.nz> Acked-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/c67x00/c67x00-drv.c')
0 files changed, 0 insertions, 0 deletions
0_alloc_chan_resources', so the lock is already held. Function `pl330_release_channel' is called from `pl330_free_chan_resources', which already holds the lock, and from `pl330_del'. Function `pl330_del' is called in an error path of `pl330_probe' and at the end of `pl330_remove', but I assume that there cannot be concurrent accesses to the protected data at those points. Signed-off-by: Iago Abal <mail@iagoabal.eu> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/lguest/Makefile')