forked from spotify/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[INET]: Use MODULE_ALIAS_NET_PF_PROTO_TYPE where possible.
Now that we have this new macro, use it where possible. Signed-off-by: Jean Delvare <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1037,8 +1037,8 @@ module_exit(dccp_v4_exit); | |
* values directly, Also cover the case where the protocol is not specified, | ||
* i.e. net-pf-PF_INET-proto-0-type-SOCK_DCCP | ||
*/ | ||
MODULE_ALIAS("net-pf-" __stringify(PF_INET) "-proto-33-type-6"); | ||
MODULE_ALIAS("net-pf-" __stringify(PF_INET) "-proto-0-type-6"); | ||
MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 33, 6); | ||
MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 0, 6); | ||
MODULE_LICENSE("GPL"); | ||
MODULE_AUTHOR("Arnaldo Carvalho de Melo <[email protected]>"); | ||
MODULE_DESCRIPTION("DCCP - Datagram Congestion Controlled Protocol"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1219,8 +1219,8 @@ module_exit(dccp_v6_exit); | |
* values directly, Also cover the case where the protocol is not specified, | ||
* i.e. net-pf-PF_INET6-proto-0-type-SOCK_DCCP | ||
*/ | ||
MODULE_ALIAS("net-pf-" __stringify(PF_INET6) "-proto-33-type-6"); | ||
MODULE_ALIAS("net-pf-" __stringify(PF_INET6) "-proto-0-type-6"); | ||
MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET6, 33, 6); | ||
MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET6, 0, 6); | ||
MODULE_LICENSE("GPL"); | ||
MODULE_AUTHOR("Arnaldo Carvalho de Melo <[email protected]>"); | ||
MODULE_DESCRIPTION("DCCPv6 - Datagram Congestion Controlled Protocol"); |