Re: BUG: spinlock bad magic in rhashtable_walk_enter

2019-05-23 Thread hujunwei
On 2019/5/24 9:58, syzbot wrote: > syzbot has bisected this bug to: > > commit 7e27e8d6130c5e88fac9ddec4249f7f2337fe7f8 > Author: Junwei Hu > Date:   Thu May 16 02:51:15 2019 + > >     tipc: switch order of device registration to fix a crash> > bisection log:  https://syzkaller.appspot.co

[PATCH v4] tipc: fix modprobe tipc failed after switch order of device registration

2019-05-19 Thread hujunwei
From: Junwei Hu Error message printed: modprobe: ERROR: could not insert 'tipc': Address family not supported by protocol. when modprobe tipc after the following patch: switch order of device registration, commit 7e27e8d6130c ("tipc: switch order of device registration to fix a crash") Because s

Re: [PATCH v3] tipc: fix modprobe tipc failed after switch order of device registration

2019-05-19 Thread hujunwei
On 2019/5/19 19:48, Stephen Rothwell wrote: > Hi, > > On Sun, 19 May 2019 17:13:45 +0800 hujunwei wrote: >> >> Fixes: 7e27e8d6130c >> ("tipc: switch order of device registration to fix a crash") > > Please don't split Fixes tags over more

Re: INFO: trying to register non-static key in rhashtable_walk_enter

2019-05-19 Thread hujunwei
On 2019/5/19 4:12, David Miller wrote: > From: Willem de Bruijn > Date: Sat, 18 May 2019 14:19:07 -0400 > >> On Sat, May 18, 2019 at 2:09 PM Willem de Bruijn >> wrote: >>> >>> On Sat, May 18, 2019 at 3:34 AM syzbot >>> wrote: Hello, syzbot found the following crash on: >>

[PATCH v3] tipc: fix modprobe tipc failed after switch order of device registration

2019-05-19 Thread hujunwei
From: Junwei Hu Error message printed: modprobe: ERROR: could not insert 'tipc': Address family not supported by protocol. when modprobe tipc after the following patch: switch order of device registration, commit 7e27e8d6130c ("tipc: switch order of device registration to fix a crash") Because s

[PATCH v2 net] ipv6: Fix dangling pointer when ipv6 fragment

2019-03-31 Thread hujunwei
From: Junwei Hu At the beginning of ip6_fragment func, the prevhdr pointer is obtained in the ip6_find_1stfragopt func. However, all the pointers pointing into skb header may change when calling skb_checksum_help func with skb->ip_summed = CHECKSUM_PARTIAL condition. The prevhdr pointe will be da