[ovs-discuss] [PATCH 2/9] Fix tab/space issue in datapath-protocol.h

Justin Pettit jpettit at nicira.com
Wed Jul 29 22:30:32 UTC 2009


Reason #38412 that I hate git.  I was sure "n" would mean "don't send  
the email", not "skip the first patch and send out the rest without  
prompting":

-=-=-=-=-=-=-=-=-
Send this email? ([y]es|[n]o|[q]uit|[a]ll): n
OK. Log says:
Server: leadville.nicira.com
MAIL FROM:<jpettit at nicira.com>
RCPT TO:<dev at openvswitch.org>
From: Justin Pettit <jpettit at nicira.com>
To: dev at openvswitch.org
Subject: [PATCH 2/9] Fix tab/space issue in datapath-protocol.h
...
-=-=-=-=-=-=-=-=-

Sorry about the spam; this set of patches went out pre-cooked.  From  
now on, I'll "kill -9" any git process when I'm heading down a path  
that looks bad.  You won't fool me again, git!

--Justin


On Jul 29, 2009, at 3:21 PM, Justin Pettit wrote:

> ---
> include/openvswitch/datapath-protocol.h |   22 +++++++++++-----------
> 1 files changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/include/openvswitch/datapath-protocol.h b/include/ 
> openvswitch/datapath-protocol.h
> index beaba32..951664a 100644
> --- a/include/openvswitch/datapath-protocol.h
> +++ b/include/openvswitch/datapath-protocol.h
> @@ -153,17 +153,17 @@ struct odp_flow_stats {
> };
>
> struct odp_flow_key {
> -	__be32 nw_src;               /* IP source address. */
> -	__be32 nw_dst;               /* IP destination address. */
> -	__u16  in_port;              /* Input switch port. */
> -	__be16 dl_vlan;              /* Input VLAN. */
> -	__be16 dl_type;              /* Ethernet frame type. */
> -	__be16 tp_src;               /* TCP/UDP source port. */
> -	__be16 tp_dst;               /* TCP/UDP destination port. */
> -	__u8   dl_src[ETH_ALEN];     /* Ethernet source address. */
> -	__u8   dl_dst[ETH_ALEN];     /* Ethernet destination address. */
> -	__u8   nw_proto;             /* IP protocol. */
> -	__u8   reserved;             /* Pad to 64 bits. */
> +    __be32 nw_src;               /* IP source address. */
> +    __be32 nw_dst;               /* IP destination address. */
> +    __u16  in_port;              /* Input switch port. */
> +    __be16 dl_vlan;              /* Input VLAN. */
> +    __be16 dl_type;              /* Ethernet frame type. */
> +    __be16 tp_src;               /* TCP/UDP source port. */
> +    __be16 tp_dst;               /* TCP/UDP destination port. */
> +    __u8   dl_src[ETH_ALEN];     /* Ethernet source address. */
> +    __u8   dl_dst[ETH_ALEN];     /* Ethernet destination address. */
> +    __u8   nw_proto;             /* IP protocol. */
> +    __u8   reserved;             /* Pad to 64 bits. */
> };
>
> struct odp_flow {
> -- 
> 1.6.3.1
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org





More information about the discuss mailing list