History log of /openbmc/linux/net/netlink/af_netlink.c (Results 2901 – 2925 of 2956)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# c27510c0 12-Jul-2005 Steve French <sfrench@hera.kernel.org>

Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git


# e7578c08 11-Jul-2005 Tony Luck <tony.luck@intel.com>

Auto merge with /home/aegl/GIT/linus


# e0d21d9c 11-Jul-2005 Dmitry Torokhov <dtor_core@ameritech.net>

Merge rsync://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6


# b03efcfb 08-Jul-2005 David S. Miller <davem@davemloft.net>

[NET]: Transform skb_queue_len() binary tests into skb_queue_empty()

This is part of the grand scheme to eliminate the qlen
member of skb_queue_head, and subsequently remove the
'list' member of sk_

[NET]: Transform skb_queue_len() binary tests into skb_queue_empty()

This is part of the grand scheme to eliminate the qlen
member of skb_queue_head, and subsequently remove the
'list' member of sk_buff.

Most users of skb_queue_len() want to know if the queue is
empty or not, and that's trivially done with skb_queue_empty()
which doesn't use the skb_queue_head->qlen member and instead
uses the queue list emptyness as the test.

Signed-off-by: David S. Miller <davem@davemloft.net>

show more ...


# b3539219 06-Jul-2005 Artem B. Bityuckiy <dedekind@infradead.org>

Merge with rsync://fileserver/linux

Update to 2.6.12-rc3


Revision tags: v2.6.13-rc2
# d2f64095 02-Jul-2005 David Woodhouse <dwmw2@shinybook.infradead.org>

Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git


# ab997aae 30-Jun-2005 Steve French <sfrench@hera.kernel.org>

Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git


# c2d9b838 30-Jun-2005 Anton Altaparmakov <aia21@cantab.net>

Automerge with /usr/src/ntfs-2.6.git.


Revision tags: v2.6.13-rc1
# f45727d5 26-Jun-2005 Jeff Garzik <jgarzik@pretzel.yyz.us>

Merge /spare/repo/netdev-2.6/ branch 'ieee80211'


# 5696c194 26-Jun-2005 Jeff Garzik <jgarzik@pretzel.yyz.us>

Merge /spare/repo/linux-2.6/


# 020f46a3 26-Jun-2005 Linus Torvalds <torvalds@ppc970.osdl.org>

Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6


# d470e3b4 26-Jun-2005 David S. Miller <davem@davemloft.net>

[NETLINK]: Fix two socket hashing bugs.

1) netlink_release() should only decrement the hash entry
count if the socket was actually hashed.

This was causing hash->entries to underflow, which

[NETLINK]: Fix two socket hashing bugs.

1) netlink_release() should only decrement the hash entry
count if the socket was actually hashed.

This was causing hash->entries to underflow, which
resulting in all kinds of troubles.

On 64-bit systems, this would cause the following
conditional to erroneously trigger:

err = -ENOMEM;
if (BITS_PER_LONG > 32 && unlikely(hash->entries >= UINT_MAX))
goto err;

2) netlink_autobind() needs to propagate the error return from
netlink_insert(). Otherwise, callers will not see the error
as they should and thus try to operate on a socket with a zero pid,
which is very bad.

However, it should not propagate -EBUSY. If two threads race
to autobind the socket, that is fine. This is consistent with the
autobind behavior in other protocols.

So bug #1 above, combined with this one, resulted in hangs
on netlink_sendmsg() calls to the rtnetlink socket. We'd try
to do the user sendmsg() with the socket's pid set to zero,
later we do a socket lookup using that pid (via the value we
stashed away in NETLINK_CB(skb).pid), but that won't give us the
user socket, it will give us the rtnetlink socket. So when we
try to wake up the receive queue, we dive back into rtnetlink_rcv()
which tries to recursively take the rtnetlink semaphore.

Thanks to Jakub Jelink for providing backtraces. Also, thanks to
Herbert Xu for supplying debugging patches to help track this down,
and also finding a mistake in an earlier version of this fix.

Signed-off-by: David S. Miller <davem@davemloft.net>

show more ...


# aef7b83c 26-Jun-2005 Jeff Garzik <jgarzik@pretzel.yyz.us>

Merge /spare/repo/linux-2.6/


# 7ca6448d 26-Jun-2005 Thomas Gleixner <tglx@tglx.tec.linutronix.de>

Merge with rsync://fileserver/linux
Update to Linus latest


# 8b0ee07e 26-Jun-2005 Jeff Garzik <jgarzik@pretzel.yyz.us>

Merge upstream (approx. 2.6.12-git8) into 'janitor' branch of netdev-2.6.


# 3357d4c7 23-Jun-2005 Anton Altaparmakov <aia21@cantab.net>

Automatic merge with /usr/src/ntfs-2.6.git.


# a5324343 22-Jun-2005 Jeff Garzik <jgarzik@pretzel.yyz.us>

Merge /spare/repo/linux-2.6/


# 80bd6d7f 22-Jun-2005 Jeff Garzik <jgarzik@pretzel.yyz.us>

Merge /spare/repo/linux-2.6/


# ff40c6d3 22-Jun-2005 Jeff Garzik <jgarzik@pretzel.yyz.us>

Merge upstream kernel changes into 'C/H/S support' branch of libata.


# fae6ec69 21-Jun-2005 Jaroslav Kysela <perex@hera.kernel.org>

Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git


# 58aab753 20-Jun-2005 Steve French <sfrench@us.ibm.com>

Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git


# 8ba08378 20-Jun-2005 Tony Luck <tony.luck@intel.com>

Auto merge with /home/aegl/GIT/linus


# df517985 20-Jun-2005 David Woodhouse <dwmw2@shinybook.infradead.org>

Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git


# d039ba24 20-Jun-2005 Dave Kleikamp <shaggy@austin.ibm.com>

Merge with /home/shaggy/git/linus-clean/


# 1797754e 19-Jun-2005 Thomas Graf <tgraf@suug.ch>

[NETLINK]: Introduce NLMSG_NEW macro to better handle netlink flags

Introduces a new macro NLMSG_NEW which extends NLMSG_PUT but takes
a flags argument. NLMSG_PUT stays there for compatibility but n

[NETLINK]: Introduce NLMSG_NEW macro to better handle netlink flags

Introduces a new macro NLMSG_NEW which extends NLMSG_PUT but takes
a flags argument. NLMSG_PUT stays there for compatibility but now
calls NLMSG_NEW with flags == 0. NLMSG_PUT_ANSWER is renamed to
NLMSG_NEW_ANSWER which now also takes a flags argument.

Also converts the users of NLMSG_PUT_ANSWER to use NLMSG_NEW_ANSWER
and fixes the two direct users of __nlmsg_put to either provide
the flags or use NLMSG_NEW(_ANSWER).

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

show more ...


1...<<111112113114115116117118119