ctdb: when we fill the client packet queue we need to drop the client
authorAndrew Tridgell <tridge@samba.org>
Thu, 4 Feb 2010 03:36:14 +0000 (14:36 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 4 Feb 2010 04:37:59 +0000 (15:37 +1100)
commita7a86dafa4d88a6bbc6a71b77ed79a178fd802a6
tree298c47cdb040ad9145a3a73fd05070d5434fb086
parente3f198056230073135ea6354bbef30c5bb022f8f
ctdb: when we fill the client packet queue we need to drop the client

We can't just drop packets to the list, as those packets could be part
of the core protocol the client is using. This happens (for example)
when Samba is doing a traverse. If we drop a traverse packet then
Samba hangs indefinately. We are better off dropping the ctdb socket
to Samba.
server/ctdb_daemon.c