Re: [PATCH V2 net-next] net: only check perm protocol when register proto

2015-09-17 Thread David Miller
From: martinbj2...@gmail.com Date: Fri, 18 Sep 2015 00:00:05 -0400 > From: Junwei Zhang > > The permanent protocol nodes are at the head of the list, > So only need check all these nodes. > > No matter the new node is permanent or not, > insert the new node after the last permanent protocol nod

[PATCH V2 net-next] net: only check perm protocol when register proto

2015-09-17 Thread martinbj2008
From: Junwei Zhang The permanent protocol nodes are at the head of the list, So only need check all these nodes. No matter the new node is permanent or not, insert the new node after the last permanent protocol node, If the new node conflicts with existing permanent node, return error. Signed-