Re: [PATCH 2/3] extra: fix wrong implementation in nfq_udp_get_payload

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

 



On Fri, Jun 20, 2014 at 06:27:00PM +0800, lantw44@xxxxxxxxx wrote:
> From: Ting-Wei Lan <lantw44@xxxxxxxxx>
> 
> ---
>  src/extra/udp.c | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
> 
> diff --git a/src/extra/udp.c b/src/extra/udp.c
> index eee732e..2a17a2f 100644
> --- a/src/extra/udp.c
> +++ b/src/extra/udp.c
> @@ -56,13 +56,17 @@ EXPORT_SYMBOL(nfq_udp_get_hdr);
>   */
>  void *nfq_udp_get_payload(struct udphdr *udph, struct pkt_buff *pktb)
>  {
> -	unsigned int doff = udph->len;
> +	uint16_t len = ntohs (udph->len);
                            ^

removed this space.

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux