Repository navigation
Commit c0425a4
net: add a new bind_add method
The SCTP protocol allows to bind multiple address to a socket. That
feature is currently only exposed as a socket option. Add a bind_add
method struct proto that allows to bind additional addresses, and
switch the dlm code to use the method instead of going through the
socket option from kernel space.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 05bfd36 commit c0425a4
4 files changed
Lines changed: 30 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
| 885 | + | |
885 | 886 | | |
886 | 887 | | |
887 | 888 | | |
888 | 889 | | |
889 | 890 | | |
890 | 891 | | |
891 | 892 | | |
892 | | - | |
893 | | - | |
894 | | - | |
| 893 | + | |
895 | 894 | | |
896 | | - | |
897 | | - | |
898 | | - | |
| 895 | + | |
899 | 896 | | |
900 | 897 | | |
901 | 898 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1156 | 1156 | | |
1157 | 1157 | | |
1158 | 1158 | | |
1159 | | - | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
1160 | 1162 | | |
1161 | 1163 | | |
1162 | 1164 | | |
| |||
2698 | 2700 | | |
2699 | 2701 | | |
2700 | 2702 | | |
| 2703 | + | |
| 2704 | + | |
2701 | 2705 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3712 | 3712 | | |
3713 | 3713 | | |
3714 | 3714 | | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
| 3720 | + | |
| 3721 | + | |
| 3722 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
1055 | 1067 | | |
1056 | 1068 | | |
1057 | 1069 | | |
| |||
9620 | 9632 | | |
9621 | 9633 | | |
9622 | 9634 | | |
| 9635 | + | |
9623 | 9636 | | |
9624 | 9637 | | |
9625 | 9638 | | |
| |||
9662 | 9675 | | |
9663 | 9676 | | |
9664 | 9677 | | |
| 9678 | + | |
9665 | 9679 | | |
9666 | 9680 | | |
9667 | 9681 | | |
| |||
0 commit comments