On Thu, Mar 27, 2014 at 2:56 PM, Wei Zhang <[email protected]> wrote: > diff --git a/net/openvswitch/vport-gre.c b/net/openvswitch/vport-gre.c > index a3d6951..d64c639 100644 > --- a/net/openvswitch/vport-gre.c > +++ b/net/openvswitch/vport-gre.c > @@ -110,6 +110,12 @@ static int gre_rcv(struct sk_buff *skb, > return PACKET_RCVD; > } > > +static int gre_dummy_err(struct sk_buff *skb, u32 info, > + const struct tnl_ptk_info *tpi) > +{ > + return PACKET_REJECT; > +}
I'm not sure that rejecting all ICMP packets is the correct thing do here since it means that we could pass them onto a later caller even though they are intended for us. We should probably use the same logic as for receiving packets and just discard them here. _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
