Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1432965

Re: [PATCH] connector: fix out-of-order cn_proc netlink message delivery

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] connector: fix out-of-order cn_proc netlink message delivery
Date 2016-06-28 14:50 +0200
Message-ID <rP0CJ-771-13@gated-at.bofh.it> (permalink)
References <rNzbA-6g-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Aaron Campbell <aaron@monkey.org>
Date: Fri, 24 Jun 2016 10:05:32 -0300

> The proc connector messages include a sequence number, allowing userspace
> programs to detect lost messages.  However, performing this detection is
> currently more difficult than necessary, since netlink messages can be
> delivered to the application out-of-order.  To fix this, leave pre-emption
> disabled during cn_netlink_send(), and use GFP_NOWAIT.
> 
> The following was written as a test case.  Building the kernel w/ make -j32
> proved a reliable way to generate out-of-order cn_proc messages.
 ...
> Signed-off-by: Aaron Campbell <aaron@monkey.org>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] connector: fix out-of-order cn_proc netlink message delivery Aaron Campbell <aaron@monkey.org> - 2016-06-24 15:20 +0200
  Re: [PATCH] connector: fix out-of-order cn_proc netlink message  delivery David Miller <davem@davemloft.net> - 2016-06-28 14:50 +0200
  Re: [PATCH] connector: fix out-of-order cn_proc netlink message delivery Evgeniy Polyakov <zbr@ioremap.net> - 2016-06-28 15:10 +0200

csiph-web