summaryrefslogtreecommitdiffstats
path: root/include/net/sctp
diff options
context:
space:
mode:
authorWei Yongjun2008-04-13 03:39:19 +0200
committerDavid S. Miller2008-04-13 03:39:19 +0200
commit72da7b3860cabf427590b4982bc880bafab4d5c8 (patch)
tree7a5084f9eac6c5556d792d0503158860b046201f /include/net/sctp
parent[NET_SCHED] cls_u32: refcounting fix for u32_delete() (diff)
downloadkernel-qcow2-linux-72da7b3860cabf427590b4982bc880bafab4d5c8.tar.gz
kernel-qcow2-linux-72da7b3860cabf427590b4982bc880bafab4d5c8.tar.xz
kernel-qcow2-linux-72da7b3860cabf427590b4982bc880bafab4d5c8.zip
[SCTP]: Add check for hmac_algo parameter in sctp_verify_param()
RFC 4890 has the following text: The HMAC algorithm based on SHA-1 MUST be supported and included in the HMAC-ALGO parameter. As a result, we need to check in sctp_verify_param() that HMAC_SHA1 is present in the list. If not, we should probably treat this as a protocol violation. It should also be a protocol violation if the HMAC parameter is empty. Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
0 files changed, 0 insertions, 0 deletions