aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/hdlc_fr.c
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2007-03-02 13:19:02 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2007-03-02 20:37:36 -0800
commitc6387a8694506841389a6ac55175a8a984ae34e4 (patch)
treecd1894d17db5424f0d143cbddba1b582f11dcc2d /drivers/net/wan/hdlc_fr.c
parent90719dbeafdb40a15105ff0c899485b43c2a2a55 (diff)
downloadkernel_samsung_smdk4412-c6387a8694506841389a6ac55175a8a984ae34e4.zip
kernel_samsung_smdk4412-c6387a8694506841389a6ac55175a8a984ae34e4.tar.gz
kernel_samsung_smdk4412-c6387a8694506841389a6ac55175a8a984ae34e4.tar.bz2
[NetLabel]: Verify sensitivity level has a valid CIPSO mapping
The current CIPSO engine has a problem where it does not verify that the given sensitivity level has a valid CIPSO mapping when the "std" CIPSO DOI type is used. The end result is that bad packets are sent on the wire which should have never been sent in the first place. This patch corrects this problem by verifying the sensitivity level mapping similar to what is done with the category mapping. This patch also changes the returned error code in this case to -EPERM to better match what the category mapping verification code returns. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: James Morris <jmorris@namei.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/hdlc_fr.c')
0 files changed, 0 insertions, 0 deletions