summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_bpf.c
diff options
context:
space:
mode:
authorJunwei Zhang2015-09-18 06:00:05 +0200
committerDavid S. Miller2015-09-18 06:02:59 +0200
commitf6c53334d6c6ac7088c2e7e70ff2941bfb33f52e (patch)
treec93d338e62e226a6bb75b27383521d133ae24ae0 /net/sched/cls_bpf.c
parentbonding: use l4 hash if available (diff)
downloadkernel-qcow2-linux-f6c53334d6c6ac7088c2e7e70ff2941bfb33f52e.tar.gz
kernel-qcow2-linux-f6c53334d6c6ac7088c2e7e70ff2941bfb33f52e.tar.xz
kernel-qcow2-linux-f6c53334d6c6ac7088c2e7e70ff2941bfb33f52e.zip
net: only check perm protocol when register proto
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@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_bpf.c')
0 files changed, 0 insertions, 0 deletions