From mboxrd@z Thu Jan 1 00:00:00 1970 References: <967c75fd-bb1d-eba3-6fa3-b4e744051689@xenomai.org> <31528751-5b7a-93ea-dca3-667377ac14ea@xenomai.org> <09587ae1-4a76-5a44-e435-63ddc0d05c7d@xenomai.org> From: Leopold Palomo-Avellaneda Message-ID: <41b1636f-ddc4-fc3d-3251-f0efa68312a3@alaxarxa.net> Date: Fri, 22 Dec 2017 17:25:05 +0100 MIME-Version: 1.0 In-Reply-To: <09587ae1-4a76-5a44-e435-63ddc0d05c7d@xenomai.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] RTnet fixes - testers needed List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum , Andreas Glatz , xenomai@xenomai.org On 20/12/17 11:47, Philippe Gerum wrote: > On 12/20/2017 11:19 AM, Philippe Gerum wrote: >> On 12/20/2017 11:17 AM, Philippe Gerum wrote: >>> On 12/19/2017 11:17 AM, Andreas Glatz wrote: >>>>> >>>>> I have pulled wip/rtnet-fixes branch with the last commit of Philippe from Sun >>>>> Dec 17 15:27:04 2017 +0100: net/udp: ioctl: fix temp arg buffer type >>>>> >>>>> I have created the packages and new kernel with the same configuration that I had. >>>>> >>>>> I run my application, that it's a POSIX application Wrapped and I still have the >>>>> same error when I activate SMAP: >>>> >>>> I see that the page fault occurs in rt_packet_ioctl()... by the looks >>>> of this bug it might be similar to the one I found in udp.c (see my >>> >>> Confirmed, same pattern. The network address is wrongly accessed in >>> rt_packet_getsockname(). >>> >> >> Likewise for the bind side. >> > > That one should help fixing the the AF_PACKET layer: > > http://git.xenomai.org/xenomai-3.git/commit/?h=wip/rtnet-fixes&id=3e388bcfde6c59bd9ec28bbcdb3757d32f19160b > Yes!!!!! fixed. I can run my program and it doesn't crash. And SMAP is enabled!!! Good job, Leopold -- -- Linux User 152692 GPG: 05F4A7A949A2D9AA Catalonia ------------------------------------- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?