mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ieee802154/fakehard.c A bug fix went into 'net' for ieee802154/fakehard.c, which is removed in 'net-next'. Add build fix into the merge from Stephen Rothwell in openvswitch, the logging macros take a new initial 'log' argument, a new call was added in 'net' so when we merge that in here we have to explicitly add the new 'log' arg to it else the build fails. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
1459143386
239 changed files with 2042 additions and 944 deletions
|
|
@ -1764,6 +1764,7 @@ static int ipx_recvmsg(struct kiocb *iocb, struct socket *sock,
|
|||
struct ipxhdr *ipx = NULL;
|
||||
struct sk_buff *skb;
|
||||
int copied, rc;
|
||||
bool locked = true;
|
||||
|
||||
lock_sock(sk);
|
||||
/* put the autobinding in */
|
||||
|
|
@ -1790,6 +1791,8 @@ static int ipx_recvmsg(struct kiocb *iocb, struct socket *sock,
|
|||
if (sock_flag(sk, SOCK_ZAPPED))
|
||||
goto out;
|
||||
|
||||
release_sock(sk);
|
||||
locked = false;
|
||||
skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT,
|
||||
flags & MSG_DONTWAIT, &rc);
|
||||
if (!skb) {
|
||||
|
|
@ -1825,7 +1828,8 @@ static int ipx_recvmsg(struct kiocb *iocb, struct socket *sock,
|
|||
out_free:
|
||||
skb_free_datagram(sk, skb);
|
||||
out:
|
||||
release_sock(sk);
|
||||
if (locked)
|
||||
release_sock(sk);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue