diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2008-02-15 14:53:59 (GMT) |
---|---|---|
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | 2008-02-28 21:41:05 (GMT) |
commit | 15efbe763978d7cc327d824d9e8f8f9e525dd40d (patch) | |
tree | b327c7e80268d2362f20f3cf8ec9dffaf33869c9 /net/unix/garbage.c | |
parent | b90a137d30a6322d76023d879d40fc31f3edf0a6 (diff) | |
download | linux-fsl-qoriq-15efbe763978d7cc327d824d9e8f8f9e525dd40d.tar.xz |
[SCTP]: Clean up naming conventions of sctp protocol/address family registration
I noticed while looking into some odd behavior in sctp, that the variable
name sctp_pf_inet6_specific was used twice to represent two different
pieces of data (its both a structure name and a pointer to that type of
structure), which is confusing to say the least, and potentially dangerous
depending on the variable scope. This patch cleans that up, and makes the
protocol and address family registration names in SCTP more regular,
increasing readability.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
ipv6.c | 12 ++++++------
protocol.c | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions