diff options
| author | David S. Miller <[email protected]> | 2012-06-20 01:56:21 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-06-20 01:56:21 +0000 |
| commit | f9242b6b28d61295f2bf7e8adfb1060b382e5381 (patch) | |
| tree | b395670bd6ae832e9f6f87f47a1840baf3a06d0d /net/ipv4/tcp_ipv4.c | |
| parent | net: qmi_wwan: use module_usb_driver macro (diff) | |
| download | kernel-f9242b6b28d61295f2bf7e8adfb1060b382e5381.tar.gz kernel-f9242b6b28d61295f2bf7e8adfb1060b382e5381.zip | |
inet: Sanitize inet{,6} protocol demux.
Don't pretend that inet_protos[] and inet6_protos[] are hashes, thay
are just a straight arrays. Remove all unnecessary hash masking.
Document MAX_INET_PROTOS.
Use RAW_HTABLE_SIZE when appropriate.
Reported-by: Ben Hutchings <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions
