Thread (26 messages) 26 messages, 4 authors, 2017-08-21

Re: [PATCH 3/6] mpls: add VPLS entry points

From: Amine Kherbouche <hidden>
Date: 2017-08-21 16:13:52


On 08/21/2017 05:55 PM, David Lamparter wrote:
quoted
quoted
+	if (rt->rt_payload_type == MPT_VPLS)
quoted
quoted
+		return vpls_rcv(skb, dev, pt, rt, hdr, orig_dev);
you should get the ret value of vpls_rcv() and increment stats if error
occurs.
An error in vpls_rcv() is not a receive error on the outer device's MPLS
layer;  the packet was received correctly (and counted for that at the
beginning of mpls_forward()) and dispatched onto an appropriately
configured VPLS device.  vpls_rcv() counts its own stats on the inner
device.
Right.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help