Re: how can I remove Adaptation Layer Indication parameter in INIT_ACK?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm sorry but support for the basics of obtaining and building the
linux kernel is well out of scope for this list. (and I have a day-job
to do ;-)
I politely suggest that you try and locate someone internally within
your organization to support you, contact the provider of your
distribution for support (if you're using a commercial one), or
failing that, google.

e.g. https://fedoraproject.org/wiki/Building_a_custom_kernel

The code change itself is simple - it adds a check to see if the user
provided an adaptation code point for the socket (if they didn't - the
value will be zero, which is IANA reserved) - and then /conditionally/
includes the ALI parameter only if one was explicitly specified.
More info on ALI can be found in the relevant RFC -
https://tools.ietf.org/html/rfc5061#section-4.2.6

Thanks,
malc.

On Fri, Jan 15, 2016 at 10:00 AM, Wenzhuo Zhan <wenzhuo.zhan@xxxxxxxxx> wrote:
> Hi malc,
>
> I did not find it, and I can understand the code change in the link
>
> [root@MTAP35 sctp]# find / -name sm_make_chunk.c
> [root@MTAP35 sctp]# find / -name "sm_make_chunk.c"
> [root@MTAP35 sctp]# find / -name 'sm_make_chunk.c'
> [root@MTAP35 sctp]#
>
>
> Thank you for your support!
>
>  BR!
>
> -----Original Message-----
> From: malc [mailto:mlashley@xxxxxxxxx]
> Sent: 2016年1月15日 17:45
> To: Wenzhuo Zhan
> Cc: lksctp-developers-owner@xxxxxxxxxxxxxxxxxxxxx; linux-sctp@xxxxxxxxxxxxxxx
> Subject: Re: how can I remove Adaptation Layer Indication parameter in INIT_ACK?
>
> It's in the net/sctp subdirectory of the kernel source... the details are right there in the link I gave you (on the diff ... line)
>
> diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
>
>
>
> On Fri, Jan 15, 2016 at 9:34 AM, Wenzhuo Zhan <wenzhuo.zhan@xxxxxxxxx> wrote:
>> Hi malc,
>>
>> Yes, it is our old lab environment. And could you tell me where is file of sm_make_chunk.c?
>>
>>
>> # uname -a
>> Linux MTAP35 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006
>> i686 i686 i386 GNU/Linux
>> [root@MTAP35 src]# cd
>> /usr/src/kernels/2.6.18-1.2798.fc6-i586/include/net/sctp
>> [root@MTAP35 sctp]# ll
>> total 204
>> -rw-r--r-- 1 root root  8377 Sep 20  2006 command.h
>> -rw-r--r-- 1 root root 13946 Sep 20  2006 constants.h
>> -rw-r--r-- 1 root root 18455 Sep 20  2006 sctp.h
>> -rw-r--r-- 1 root root 15433 Sep 20  2006 sm.h
>> -rw-r--r-- 1 root root 59974 Sep 20  2006 structs.h
>> -rw-r--r-- 1 root root  6589 Sep 20  2006 tsnmap.h
>> -rw-r--r-- 1 root root  4834 Sep 20  2006 ulpevent.h
>> -rw-r--r-- 1 root root  3061 Sep 20  2006 ulpqueue.h
>> -rw-r--r-- 1 root root 19221 Sep 20  2006 user.h
>>
>>
>>
>> Thank you for your support!
>>
>> BR!
>>
>> -----Original Message-----
>> From: malc [mailto:mlashley@xxxxxxxxx]
>> Sent: 2016年1月15日 17:23
>> To: Wenzhuo Zhan
>> Cc: lksctp-developers-owner@xxxxxxxxxxxxxxxxxxxxx;
>> linux-sctp@xxxxxxxxxxxxxxx
>> Subject: Re: how can I remove Adaptation Layer Indication parameter in INIT_ACK?
>>
>> Are you using a particularly old kernel? This was patched years ago to only include ALI in INIT{_ACK} if the user has specified a valid (i.e.
>> non-zero) application code-point.
>>
>> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/
>> ?id=6fc791ee631728b2beddda87560f1af59e32230e
>>
>> Cheers,
>> malc.
>>
>> On Fri, Jan 15, 2016 at 7:42 AM, Wenzhuo Zhan <wenzhuo.zhan@xxxxxxxxx> wrote:
>>> Hi,
>>>
>>> This address of linux-sctp@xxxxxxxxxxxxxxx can not  be sent
>>> successfully anyway.
>>>
>>> BR!
>>>
>>> -----Original Message-----
>>> From: lksctp-developers-owner@xxxxxxxxxxxxxxxxxxxxx
>>> [mailto:lksctp-developers-owner@xxxxxxxxxxxxxxxxxxxxx]
>>> Sent: 2016年1月13日 19:49
>>> To: Wenzhuo Zhan
>>> Subject: how can I remove Adaptation Layer Indication parameter in INIT_ACK?
>>>
>>> Please use linux-sctp@xxxxxxxxxxxxxxx for posting SCTP questions.
>>>
>>> ________________________________
>>> NOTE: This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message.
--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux