CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2013/02/25 15:00:46
Modified files: sys/net : if_trunk.c Log message: trunk_bcast_start sent packets on all its member interfaces by copying the mbuf it just sent on the previous interface. this is bad because the previous interface could have modified the mbuf chain, which can make the subsequent m_copym()s panic. this copies the dance that rtsock.c does for broadcasting mbufs which copies the mbuf before transmit, except for the last interface which it handles outside the loop. tested by halex@ who verified it fixes his panic. ok claudio@ deraadt@