CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2018/04/18 16:06:52
Modified files: sys/net : Tag: OPENBSD_6_3 if_gif.c Log message: Merge if_gif.c revisions 1.114, 1.115, and 1.116 to 6.3-stable. revision 1.114: on output, actually attach the mbuf tag to packet. this is to suppress loops over the interface, and avoids a leak of the tag on every packet. found and fix testd by christian barthel also tested by job snijders ok bluhm@ revision 1.115: use the specified protocol on v6 output found by and diff from peter j philip ok jca@ revision 1.116: If m_pullup() changes the mbuf in gif_input(), also adjust the mbuf pointer in the IP protocol loop. Reset the loop's mbuf when the mbuf is freed. The latter is not necessary, but clearing a pointer to freed data is safer. OK dlg@