lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150820165805.GD8475@pox.localdomain>
Date:	Thu, 20 Aug 2015 18:58:05 +0200
From:	Thomas Graf <tgraf@...g.ch>
To:	Pravin B Shelar <pshelar@...ira.com>
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2 4/9] geneve: Make dst-port configurable.

On 08/17/15 at 02:11pm, Pravin B Shelar wrote:
> @@ -403,6 +416,7 @@ static size_t geneve_get_size(const struct net_device *dev)
>  		nla_total_size(sizeof(struct in_addr)) + /* IFLA_GENEVE_REMOTE */
>  		nla_total_size(sizeof(__u8)) +  /* IFLA_GENEVE_TTL */
>  		nla_total_size(sizeof(__u8)) +  /* IFLA_GENEVE_TOS */
> +		nla_total_size(sizeof(__u16)) +  /* IFLA_GENEVE_PORT */
>  		0;
>  }
>  
> @@ -423,6 +437,9 @@ static int geneve_fill_info(struct sk_buff *skb, const struct net_device *dev)
>  	    nla_put_u8(skb, IFLA_GENEVE_TOS, geneve->tos))
>  		goto nla_put_failure;
>  
> +	if (nla_put_u32(skb, IFLA_GENEVE_PORT, ntohs(geneve->dst_port)))
> +		goto nla_put_failure;

nla_put_u16?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ