[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141211.150706.1736198745550279282.davem@davemloft.net>
Date: Thu, 11 Dec 2014 15:07:06 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: timo.teras@....fi
Cc: netdev@...r.kernel.org, therbert@...gle.com,
alexander.h.duyck@...hat.com
Subject: Re: [net] gre: fix the inner mac header in nbma gre tunnels xmit
path
From: Timo Teras <timo.teras@....fi>
Date: Thu, 11 Dec 2014 21:44:56 +0200
> On Thu, 11 Dec 2014 14:36:27 -0500 (EST)
> David Miller <davem@...emloft.net> wrote:
>
>> From: Timo Teräs <timo.teras@....fi>
>> Date: Thu, 11 Dec 2014 09:14:39 +0200
>>
>> > @@ -266,6 +262,7 @@ static netdev_tx_t ipgre_xmit(struct sk_buff
>> > *skb,
>> > * to gre header.
>> > */
>> > skb_pull(skb, tunnel->hlen + sizeof(struct iphdr));
>> > + skb_reset_mac_header(mac);
>>
>> Please explain to me how this compiles, let alone be functionally
>> tested.
>
> Sorry. I made the change twice; once on the build box. And again on my
> git checkout on work station. Must've been on seriously coffee deprived
> state.
>
> Should be obviously:
> + skb_reset_mac_header(skb);
>
> Is there other comments on it?
I don't care where you applied the patch, if you didn't type make after
making the change, that is extremely careless.
--
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