Displaying 5 results from an estimated 5 matches for "7271f1f".
2013 Nov 29
2
[PATCH] efi: reuse UDP port with sendto
...t have already been decided.
Conversly, we have to save the assigned port to reuse it later if
needed.
Resolve bug #35.
Signed-off-by: Celelibi <celelibi at gmail.com>
---
efi/udp.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/efi/udp.c b/efi/udp.c
index 59bb426..7271f1f 100644
--- a/efi/udp.c
+++ b/efi/udp.c
@@ -336,6 +336,9 @@ void core_udp_sendto(struct pxe_pvt_inode *socket, const void *data,
memset(&udata, 0, sizeof(udata));
+ /* Re-use the existing local port number if any */
+ udata.StationPort = socket->net.efi.localport;
+
memcpy...
2013 Nov 29
2
[PATCH] efi: reuse UDP port with sendto
...gt;> needed.
>>
>> Resolve bug #35.
>>
>> Signed-off-by: Celelibi <celelibi at gmail.com>
>> ---
>> efi/udp.c | 18 ++++++++++++++++++
>> 1 file changed, 18 insertions(+)
>>
>> diff --git a/efi/udp.c b/efi/udp.c
>> index 59bb426..7271f1f 100644
>> --- a/efi/udp.c
>> +++ b/efi/udp.c
>> @@ -336,6 +336,9 @@ void core_udp_sendto(struct pxe_pvt_inode *socket, const void *data,
>>
>> memset(&udata, 0, sizeof(udata));
>>
>> + /* Re-use the existing local port number if any */
>>...
2013 Nov 30
3
[PATCH] efi: reuse UDP port with sendto
...gt;
>>>> Signed-off-by: Celelibi <celelibi at gmail.com>
>>>> ---
>>>> efi/udp.c | 18 ++++++++++++++++++
>>>> 1 file changed, 18 insertions(+)
>>>>
>>>> diff --git a/efi/udp.c b/efi/udp.c
>>>> index 59bb426..7271f1f 100644
>>>> --- a/efi/udp.c
>>>> +++ b/efi/udp.c
>>>> @@ -336,6 +336,9 @@ void core_udp_sendto(struct pxe_pvt_inode *socket,
>>>> const void *data,
>>>>
>>>> memset(&udata, 0, sizeof(udata));
>>>>
>>&...
2013 Nov 29
0
[PATCH] efi: reuse UDP port with sendto
...ave the assigned port to reuse it later if
> needed.
>
> Resolve bug #35.
>
> Signed-off-by: Celelibi <celelibi at gmail.com>
> ---
> efi/udp.c | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/efi/udp.c b/efi/udp.c
> index 59bb426..7271f1f 100644
> --- a/efi/udp.c
> +++ b/efi/udp.c
> @@ -336,6 +336,9 @@ void core_udp_sendto(struct pxe_pvt_inode *socket, const void *data,
>
> memset(&udata, 0, sizeof(udata));
>
> + /* Re-use the existing local port number if any */
> + udata.StationPort = socket-...
2013 Nov 29
0
[PATCH] efi: reuse UDP port with sendto
...; Resolve bug #35.
>>>
>>> Signed-off-by: Celelibi <celelibi at gmail.com>
>>> ---
>>> efi/udp.c | 18 ++++++++++++++++++
>>> 1 file changed, 18 insertions(+)
>>>
>>> diff --git a/efi/udp.c b/efi/udp.c
>>> index 59bb426..7271f1f 100644
>>> --- a/efi/udp.c
>>> +++ b/efi/udp.c
>>> @@ -336,6 +336,9 @@ void core_udp_sendto(struct pxe_pvt_inode *socket,
>>> const void *data,
>>>
>>> memset(&udata, 0, sizeof(udata));
>>>
>>> + /* Re-use the exist...