Re: m_pullup alingment crash armv7 sparc64

2022-02-04 Thread Alexander Bluhm
On Fri, Feb 04, 2022 at 07:27:38PM +1000, David Gwynne wrote: > On Thu, Feb 03, 2022 at 11:39:50PM +0100, Alexander Bluhm wrote: > > On Thu, Feb 03, 2022 at 10:22:46PM +1000, David Gwynne wrote: > > > bpf should know better than this. it has all the information it needs to > > > align the payload

Re: m_pullup alingment crash armv7 sparc64

2022-02-04 Thread David Gwynne
On Thu, Feb 03, 2022 at 11:39:50PM +0100, Alexander Bluhm wrote: > On Thu, Feb 03, 2022 at 10:22:46PM +1000, David Gwynne wrote: > > bpf should know better than this. it has all the information it needs to > > align the payload properly, it just doesnt make enough of an effort. can > > you try the

Re: m_pullup alingment crash armv7 sparc64

2022-02-03 Thread Alexander Bluhm
On Thu, Feb 03, 2022 at 10:22:46PM +1000, David Gwynne wrote: > bpf should know better than this. it has all the information it needs to > align the payload properly, it just doesnt make enough of an effort. can > you try the diff below? Diff seems to work. regress/sbin/slaacd passes. I have

Re: m_pullup alingment crash armv7 sparc64

2022-02-03 Thread David Gwynne
On Wed, Feb 02, 2022 at 10:30:24PM +0100, Alexander Bluhm wrote: > Hi, > > With the new m_pullup() code, I see crashes on armv7 and sparc64. > regress/sbin/slaacd sends some IPv6 ND6 packets over pair(4) from > scapy. It crashes after m_pullup() in ipv6_check(). > > run-parse-ra >

m_pullup alingment crash armv7 sparc64

2022-02-02 Thread Alexander Bluhm
Hi, With the new m_pullup() code, I see crashes on armv7 and sparc64. regress/sbin/slaacd sends some IPv6 ND6 packets over pair(4) from scapy. It crashes after m_pullup() in ipv6_check(). run-parse-ra ifconfig pair1 destroy 2>/dev/null || true ifconfig pair2 destroy 2>/dev/null ||