[ovs-dev] [PATCH] tunneling: Don't leak dst on vlan tagging failure.

Ben Pfaff blp at nicira.com
Fri Mar 4 21:12:46 UTC 2011


On Fri, Mar 04, 2011 at 01:07:19PM -0800, Jesse Gross wrote:
> When we need to send a packet through the IP stack we need to attach
> a dst to the skb.  Due to some interactions with caching this doesn't
> happen until late in the transmission process.  However, if we are
> inserting a vlan tag and the insertion fails it is possible to leak
> the dst.
> 
> Reported-by: Ben Pfaff <blp at nicira.com>
> Signed-off-by: Jesse Gross <jesse at nicira.com>

Thank you.  This is the same fix that occurred to me too.

Acked-by: Ben Pfaff <blp at nicira.com>




More information about the dev mailing list