mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
Merge tag 'v4.9.123' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.123 stable release
This commit is contained in:
@@ -62,7 +62,8 @@ struct vsock_sock {
|
||||
struct list_head pending_links;
|
||||
struct list_head accept_queue;
|
||||
bool rejected;
|
||||
struct delayed_work dwork;
|
||||
struct delayed_work connect_work;
|
||||
struct delayed_work pending_work;
|
||||
struct delayed_work close_work;
|
||||
bool close_work_scheduled;
|
||||
u32 peer_shutdown;
|
||||
@@ -75,7 +76,6 @@ struct vsock_sock {
|
||||
|
||||
s64 vsock_stream_has_data(struct vsock_sock *vsk);
|
||||
s64 vsock_stream_has_space(struct vsock_sock *vsk);
|
||||
void vsock_pending_work(struct work_struct *work);
|
||||
struct sock *__vsock_create(struct net *net,
|
||||
struct socket *sock,
|
||||
struct sock *parent,
|
||||
|
||||
@@ -116,6 +116,11 @@ static inline void llc_sap_hold(struct llc_sap *sap)
|
||||
atomic_inc(&sap->refcnt);
|
||||
}
|
||||
|
||||
static inline bool llc_sap_hold_safe(struct llc_sap *sap)
|
||||
{
|
||||
return atomic_inc_not_zero(&sap->refcnt);
|
||||
}
|
||||
|
||||
void llc_sap_close(struct llc_sap *sap);
|
||||
|
||||
static inline void llc_sap_put(struct llc_sap *sap)
|
||||
|
||||
Reference in New Issue
Block a user