From 4367d7d7235723e614dc5ed4f43751cc755781c8 Mon Sep 17 00:00:00 2001 From: Zhu Yi Date: Sun, 7 Mar 2010 16:21:39 +0000 Subject: [PATCH] --- yaml --- r: 187963 b: refs/heads/master c: 4045635318538d3ddd2007720412fdc4b08f6a62 h: refs/heads/master i: 187961: 56d551962512b1c830ca472b0302970649925492 187959: 6158374a0b8e2e5c089c97eae8a3e48969495978 v: v3 --- [refs] | 2 +- trunk/include/net/sock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 41d020b17888..e2e027365073 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 10cc2b50eb4b01ca4dc014af2094d28b4ebe20d7 +refs/heads/master: 4045635318538d3ddd2007720412fdc4b08f6a62 diff --git a/trunk/include/net/sock.h b/trunk/include/net/sock.h index 170353dd9570..092b0551e77f 100644 --- a/trunk/include/net/sock.h +++ b/trunk/include/net/sock.h @@ -604,7 +604,7 @@ static inline void __sk_add_backlog(struct sock *sk, struct sk_buff *skb) } /* The per-socket spinlock must be held here. */ -static inline int sk_add_backlog(struct sock *sk, struct sk_buff *skb) +static inline __must_check int sk_add_backlog(struct sock *sk, struct sk_buff *skb) { if (sk->sk_backlog.len >= max(sk->sk_backlog.limit, sk->sk_rcvbuf << 1)) return -ENOBUFS;