Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Move the bpf verifier trace check into the new switch statement in HEAD. Resolve the overlapping changes in hinic, where bug fixes overlap the addition of VF support. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1036,6 +1036,16 @@ int mptcp_subflow_create_socket(struct sock *sk, struct socket **new_sock)
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
/* the newly created socket really belongs to the owning MPTCP master
|
||||
* socket, even if for additional subflows the allocation is performed
|
||||
* by a kernel workqueue. Adjust inode references, so that the
|
||||
* procfs/diag interaces really show this one belonging to the correct
|
||||
* user.
|
||||
*/
|
||||
SOCK_INODE(sf)->i_ino = SOCK_INODE(sk->sk_socket)->i_ino;
|
||||
SOCK_INODE(sf)->i_uid = SOCK_INODE(sk->sk_socket)->i_uid;
|
||||
SOCK_INODE(sf)->i_gid = SOCK_INODE(sk->sk_socket)->i_gid;
|
||||
|
||||
subflow = mptcp_subflow_ctx(sf->sk);
|
||||
pr_debug("subflow=%p", subflow);
|
||||
|
||||
|
Reference in New Issue
Block a user