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

From: David Miller
Date: Fri Sep 18 2015 - 00:03:27 EST


From: martinbj2008@xxxxxxxxx
Date: Fri, 18 Sep 2015 00:00:05 -0400

> From: Junwei Zhang <martinbj2008@xxxxxxxxx>
>
> 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-off-by: Martin Zhang <martinbj2008@xxxxxxxxx>
> ---
> V2: Fix indentation
> rewrite statement

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/