]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: Clean up naming conventions of sctp protocol/address family registration
authorNeil Horman <nhorman@tuxdriver.com>
Fri, 15 Feb 2008 14:53:59 +0000 (09:53 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 28 Feb 2008 21:41:05 +0000 (16:41 -0500)
commit0c4e474fd8dcee7e56ab05e81a06c1712943aebb
treeb327c7e80268d2362f20f3cf8ec9dffaf33869c9
parentd2c7a95fb07fd926a82a5db727cd5391bc13dad7
[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(-)
net/sctp/ipv6.c
net/sctp/protocol.c