cvs commit: src/sys/net if_ethersubr.c src/sys/netinet ip_output.c src/sys/netproto/mpls mpls_demux.c mpls_input.c mpls_output.c mpls_var.h src/sys/sys mbuf.h
Nuno Antunes
nuno.antunes at gmail.com
Tue Aug 5 08:16:42 PDT 2008
On Tue, Aug 5, 2008 at 4:11 PM, Nuno Antunes
<nant at crater.dragonflybsd.org> wrote:
> nant 2008/08/05 08:11:32 PDT
>
> DragonFly src repository
>
> Modified files:
> sys/net if_ethersubr.c
> sys/netinet ip_output.c
> sys/netproto/mpls mpls_demux.c mpls_input.c mpls_output.c
> mpls_var.h
> sys/sys mbuf.h
> Log:
> * Don't call ifp->if_output() from inside mpls_output(). Make the
> caller responsible for sending the packet.
>
> * Fix mpls gateway arp resoving.
>
> * Introduce a new mbuf flag M_MPLSLABELED indicating that the packet
> has at least one valid mpls label on it.
>
> * Use the new mbuf flag instead of forging a sockaddr_mpls to let
> ether_output() identify the mpls packets.
>
> * Drop the packet when mpls ttl is exceeded (doesn't send an ICMP message yet).
>
> * Fix compilation warning.
>
> * Improve comments.
>
> Revision Changes Path
> 1.82 +9 -28 src/sys/net/if_ethersubr.c
> 1.47 +3 -7 src/sys/netinet/ip_output.c
> 1.2 +0 -1 src/sys/netproto/mpls/mpls_demux.c
> 1.2 +12 -5 src/sys/netproto/mpls/mpls_input.c
> 1.2 +36 -26 src/sys/netproto/mpls/mpls_output.c
> 1.2 +3 -6 src/sys/netproto/mpls/mpls_var.h
> 1.49 +2 -1 src/sys/sys/mbuf.h
>
>
> http://www.dragonflybsd.org/cvsweb/src/sys/net/if_ethersubr.c.diff?r1=1.81&r2=1.82&f=u
> http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_output.c.diff?r1=1.46&r2=1.47&f=u
> http://www.dragonflybsd.org/cvsweb/src/sys/netproto/mpls/mpls_demux.c.diff?r1=1.1&r2=1.2&f=u
> http://www.dragonflybsd.org/cvsweb/src/sys/netproto/mpls/mpls_input.c.diff?r1=1.1&r2=1.2&f=u
> http://www.dragonflybsd.org/cvsweb/src/sys/netproto/mpls/mpls_output.c.diff?r1=1.1&r2=1.2&f=u
> http://www.dragonflybsd.org/cvsweb/src/sys/netproto/mpls/mpls_var.h.diff?r1=1.1&r2=1.2&f=u
> http://www.dragonflybsd.org/cvsweb/src/sys/sys/mbuf.h.diff?r1=1.48&r2=1.49&f=u
>
Ooops, forgot to say:
Discussed with: hsu
Reviewed by and feedback from: hsu, sephe, hasso
Thanks!
Nuno
More information about the Commits
mailing list