Re: [PATCH bpf v2] bpf, lpm: fix lookup bug in map_delete_elem

2019-02-22 Thread Craig Gallek
udo ./tools/testing/selftests/bpf/test_lpm_map > test_lpm_map: test_lpm_map.c:485: test_lpm_delete: Assertion > `bpf_map_delete_elem(map_fd, key) == -1 && errno == ENOENT' failed. > Aborted > > With the patch: test_lpm_map runs without errors. > > Fixes: e454

Re: [PATCH 3.18 08/20] tun/tap: sanitize TUNSETSNDBUF input

2017-11-16 Thread Craig Gallek
On Thu, Nov 16, 2017 at 12:28 PM, Greg Kroah-Hartman wrote: > 3.18-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Craig Gallek > > > [ Upstream commit 93161922c658c714715686cd0cf69b090cb9bf1d ] > > Syzkaller

Re: [PATCH v6] genirq: Machine-parsable version of /proc/interrupts

2016-09-14 Thread Craig Gallek
On Wed, Sep 14, 2016 at 9:36 AM, Thomas Gleixner wrote: > On Tue, 13 Sep 2016, Craig Gallek wrote: >> +What:/sys/kernel/irq//name >> +Date:September 2016 >> +KernelVersion: 4.9 >> +Contact: Craig Gallek >> +Description:

[tip:irq/core] genirq: Expose interrupt information through sysfs

2016-09-14 Thread tip-bot for Craig Gallek
Commit-ID: ecb3f394c5dba897d215a5422f1b363e93e2ce4e Gitweb: http://git.kernel.org/tip/ecb3f394c5dba897d215a5422f1b363e93e2ce4e Author: Craig Gallek AuthorDate: Tue, 13 Sep 2016 12:14:51 -0400 Committer: Thomas Gleixner CommitDate: Wed, 14 Sep 2016 15:28:15 +0200 genirq: Expose

[PATCH v6] genirq: Machine-parsable version of /proc/interrupts

2016-09-13 Thread Craig Gallek
From: Craig Gallek Export struct irq_desc information through sysfs. The same information is available in /proc/interrupts but the format of that file has changed over kernel versions and differs across architectures. The procfs version also has varying column numbers depending on hardware

[PATCH v5] genirq: Machine-parsable version of /proc/interrupts

2016-09-12 Thread Craig Gallek
From: Craig Gallek Add struct kobject to struct irq_desc to allow for easy export to sysfs. This allows for much simpler userspace-parsing of the information contained in struct irq_desc. Note that sysfs is not available at the time of early irq initialization. These interrupts are accounted

[PATCH v4] genirq: Machine-parsable version of /proc/interrupts

2016-09-09 Thread Craig Gallek
From: Craig Gallek Add struct kobject to struct irq_desc to allow for easy export to sysfs. This allows for much simpler userspace-parsing of the information contained in struct irq_desc. Note that sysfs is not available at the time of early irq initialization. These interrupts are accounted

Re: [PATCH v3] genirq: Machine-parsable version of /proc/interrupts

2016-09-08 Thread Craig Gallek
On Thu, Sep 8, 2016 at 6:00 PM, Randy Dunlap wrote: > On 09/08/16 13:25, Craig Gallek wrote: >> From: Craig Gallek >> >> Add struct kobject to struct irq_desc to allow for easy export >> to sysfs. This allows for much simpler userspace-parsing of >> the informa

[PATCH v3] genirq: Machine-parsable version of /proc/interrupts

2016-09-08 Thread Craig Gallek
From: Craig Gallek Add struct kobject to struct irq_desc to allow for easy export to sysfs. This allows for much simpler userspace-parsing of the information contained in struct irq_desc. Note that sysfs is not available at the time of early irq initialization. These interrupts are accounted

[PATCH v2] genirq: Machine-parsable version of /proc/interrupts

2016-09-08 Thread Craig Gallek
From: Craig Gallek Add struct kobject to struct irq_desc to allow for easy export to sysfs. This allows for much simpler userspace-parsing of the information contained in struct irq_desc. Note that sysfs is not available at the time of early irq initialization. These interrupts are accounted

Re: [PATCH RESEND] genirq: Machine-parsable version of /proc/interrupts

2016-09-06 Thread Craig Gallek
On Fri, Sep 2, 2016 at 10:59 AM, Thomas Gleixner wrote: > On Tue, 26 Jul 2016, Craig Gallek wrote: >> +static void irq_kobj_release(struct kobject *kobj) >> +{ >> + struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); >> + >> + /* >&g

Re: [PATCH RESEND] genirq: Machine-parsable version of /proc/interrupts

2016-08-10 Thread Craig Gallek
On Tue, Jul 26, 2016 at 10:25 AM, Craig Gallek wrote: > From: Craig Gallek > > Add struct kobject to struct irq_desc to allow for easy export > to sysfs. This allows for much simpler userspace-parsing of > the information contained in struct irq_desc. > > Note that sysfs is

[PATCH RESEND] genirq: Machine-parsable version of /proc/interrupts

2016-07-26 Thread Craig Gallek
From: Craig Gallek Add struct kobject to struct irq_desc to allow for easy export to sysfs. This allows for much simpler userspace-parsing of the information contained in struct irq_desc. Note that sysfs is not available at the time of early irq initialization. These interrupts are accounted

[tip:irq/core] genirq: Machine-parsable version of /proc/interrupts

2016-07-12 Thread Craig Gallek
From: Craig Gallek Add struct kobject to struct irq_desc to allow for easy export to sysfs. This allows for much simpler userspace-parsing of the information contained in struct irq_desc. Note that sysfs is not available at the time of early irq initialization. These interrupts are accounted

Re: [RFC PATCH v2] net: sched: convert qdisc linked list to hashtable

2016-07-07 Thread Craig Gallek
On Thu, Jul 7, 2016 at 4:36 PM, Jiri Kosina wrote: > From: Jiri Kosina > > Convert the per-device linked list into a hashtable. The primary > motivation for this change is that currently, we're not tracking all the > qdiscs in hierarchy (e.g. excluding default qdiscs), as the lookup > performed o

Re: [PATCH net-next V4 0/6] switch to use tx skb array in tun

2016-07-06 Thread Craig Gallek
On Thu, Jun 30, 2016 at 2:45 AM, Jason Wang wrote: > Hi all: > > This series tries to switch to use skb array in tun. This is used to > eliminate the spinlock contention between producer and consumer. The > conversion was straightforward: just introdce a tx skb array and use > it instead of sk_rec

Re: [PATCH 4.2.y-ckt 52/53] soreuseport: fix ordering for mixed v4/v6 sockets

2016-05-24 Thread Craig Gallek
4.6 release candidate iterations. Thanks, Craig > ---8<---- > > From: Craig Gallek > > [ Upstream commit d894ba18d4e449b3a7f6eb491f16c9e02933736e ] > > With the SO_REUSEPORT socket option, it is possible to create so

Re: [PATCH 4.5 008/101] soreuseport: fix ordering for mixed v4/v6 sockets

2016-05-17 Thread Craig Gallek
On Mon, May 16, 2016 at 9:20 PM, Greg Kroah-Hartman wrote: > 4.5-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Craig Gallek > > [ Upstream commit d894ba18d4e449b3a7f6eb491f16c9e02933736e ] > > With the SO_REU