Make switchd(8) ignore PACKET_INs generated from looped traffic. Currently,
authorakoshibe <akoshibe@openbsd.org>
Sun, 9 Sep 2018 14:21:32 +0000 (14:21 +0000)
committerakoshibe <akoshibe@openbsd.org>
Sun, 9 Sep 2018 14:21:32 +0000 (14:21 +0000)
commitc1a46f8da14c482d23526df1dd585fe64746b3cb
tree793eee7b7c704a902cdcbc7556e277901a519f7a
parenta42490911b2f4af2f9da970a0b056933e460c414
Make switchd(8) ignore PACKET_INs generated from looped traffic. Currently,
it responds to these messages with an invalid PACKET_OUT onto OFP*_PORT_ANY,
resulting in the switch responding with an error, causing switchd to
disconnect the switch.

OK phessler@ claudio@
usr.sbin/switchd/ofp10.c
usr.sbin/switchd/ofp13.c