From: Wolfgang Grandegger <wg@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>,
Sebastian Smolorz <Sebastian.Smolorz@domain.hid>
Subject: Re: [Xenomai-core] [PATCH] RT-Socket-CAN: correct bug with filter registration
Date: Thu, 30 Oct 2008 12:25:50 +0100 [thread overview]
Message-ID: <490999BE.8060709@domain.hid> (raw)
In-Reply-To: <4908FF4D.4050706@domain.hid>
Jan Kiszka wrote:
> Wolfgang Grandegger wrote:
>> Hi Jan and Sebastian,
>>
>> attached is the patch fixing the filter problem. I'm going to apply it
>> to the trunk as well if there are no complaints.
>>
>> Wolfgang.
>>
>> Index: ChangeLog
>> ===================================================================
>> --- ChangeLog (revision 4287)
>> +++ ChangeLog (working copy)
>> @@ -1,3 +1,9 @@
>> +2008-10-29 Wolfgang Grandegger <wg@domain.hid>
>> +
>> + * ksrc/drivers/can/rtcan_raw_filter.c(rtcan_raw_mount_filter):
>> + Applying the filter mask required for fast filter checks got lost
>> + somehow with commit 2202.
>> +
>> 2008-10-28 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
>>
>> * ksrc/nucleus/thread.c (xnthread_init): Change initialization
>> Index: ksrc/drivers/can/rtcan_raw_filter.c
>> ===================================================================
>> --- ksrc/drivers/can/rtcan_raw_filter.c (revision 4287)
>> +++ ksrc/drivers/can/rtcan_raw_filter.c (working copy)
>> @@ -62,6 +62,9 @@
>> recv_filter->can_id = filter->can_id;
>> recv_filter->can_mask = filter->can_mask & ~CAN_INV_FILTER;
>> }
>> +
>> + /* Apply mask for fast filter check */
>> + recv_filter->can_id &= recv_filter->can_mask;
>> }
>>
>>
>
> Ack from me, too. Please commit to trunk and 2.4.x.
I just applied it to both branches.
Thanks,
Wolfgang.
prev parent reply other threads:[~2008-10-30 11:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 12:37 [Xenomai-core] [PATCH] RT-Socket-CAN: correct bug with filter registration Wolfgang Grandegger
2008-10-29 13:01 ` Sebastian Smolorz
2008-10-30 0:26 ` Jan Kiszka
2008-10-30 11:25 ` Wolfgang Grandegger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=490999BE.8060709@domain.hid \
--to=wg@domain.hid \
--cc=Sebastian.Smolorz@domain.hid \
--cc=jan.kiszka@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.