search for: 7ec052b

Displaying 5 results from an estimated 5 matches for "7ec052b".

Did you mean: 7e7d52b
2013 Nov 29
2
[PATCH] efi: reuse UDP port with sendto
...cket, const void *data, >> >> memset(&udata, 0, sizeof(udata)); >> >> + /* Re-use the existing local port number if any */ >> + udata.StationPort = socket->net.efi.localport; >> + > > As HPA noted, this shouldn't be saved here. Commit 7ec052b on my > branch efi-fixes (will be renamed to efi-fixes-for-mfleming once Jason > gives more feedback). To clarify, this code-quote reuses (needed) while the removed one saves and should be in core_udp_open(). Perhaps a fallback-save in here if the local port is somehow still NULL. -- -Gen...
2013 Nov 29
2
[PATCH] efi: reuse UDP port with sendto
Without an assigned source port, Transmit function assign a random new source port to the packet being sent. It thus have to be set before calling Transmit if the source port 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
2013 Nov 30
3
[PATCH] efi: reuse UDP port with sendto
...emset(&udata, 0, sizeof(udata)); >>>> >>>> + /* Re-use the existing local port number if any */ >>>> + udata.StationPort = socket->net.efi.localport; >>>> + >>> >>> As HPA noted, this shouldn't be saved here. Commit 7ec052b on my >>> branch efi-fixes (will be renamed to efi-fixes-for-mfleming once Jason >>> gives more feedback). >> >> To clarify, this code-quote reuses (needed) while the removed one >> saves and should be in core_udp_open(). Perhaps a fallback-save in >> here...
2013 Nov 29
0
[PATCH] efi: reuse UDP port with sendto
...p_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; > + As HPA noted, this shouldn't be saved here. Commit 7ec052b on my branch efi-fixes (will be renamed to efi-fixes-for-mfleming once Jason gives more feedback). -- -Gene
2013 Nov 29
0
[PATCH] efi: reuse UDP port with sendto
...> >>> memset(&udata, 0, sizeof(udata)); >>> >>> + /* Re-use the existing local port number if any */ >>> + udata.StationPort = socket->net.efi.localport; >>> + >> >> As HPA noted, this shouldn't be saved here. Commit 7ec052b on my >> branch efi-fixes (will be renamed to efi-fixes-for-mfleming once Jason >> gives more feedback). > > To clarify, this code-quote reuses (needed) while the removed one > saves and should be in core_udp_open(). Perhaps a fallback-save in > here if the local port is so...