aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2013-04-22 20:40:39 +0000
committerDavid S. Miller <[email protected]>2013-04-25 01:48:23 -0400
commite8dbad66ef56074eadb41ed5998acd2320447018 (patch)
treedc9a72436ced43c117bfe447dea24570586f178b /net/unix/af_unix.c
parent5ffedc6ed3d066f5c0d2c2106f9081170b3d24fa (diff)
tuntap: correct the return value in tun_set_iff()
commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the creation of multiqueue tuntap since it forbids to create more than one queues for a multiqueue tuntap device. We need return 0 instead -EBUSY here since we don't want to re-initialize the device when one or more queues has been already attached. Add a comment and correct the return value to zero. Reported-by: Jerry Chu <[email protected]> Cc: Jerry Chu <[email protected]> Cc: Wei Yongjun <[email protected]> Cc: Eric Dumazet <[email protected]> Signed-off-by: Jason Wang <[email protected]> Acked-by: Jerry Chu <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions