tnl-ports: Add destination IP and MAC address to the match.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 3 Sep 2015 07:42:34 +0000 (00:42 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Tue, 8 Sep 2015 23:24:35 +0000 (16:24 -0700)
commit7f9b850474bfae061fa3ba68cb6e463c70c1b1cc
tree4cbad008c9ff15d890a3198417ac9ba3997fd9f9
parentc02819293d52f7ea7b714242d871b2b01f57f905
tnl-ports: Add destination IP and MAC address to the match.

Currently tnl-port table wildcard destination ip and mac addresses
for given tunnel packet.  That could result accepting tunnel
packets destined for other hosts.  Following patch adds
support for matching for ip and mac address.
IP address upates to tnl-port table are piggybacked on
ovs-router updates.

Reported-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/dpif-netdev.c
lib/ovs-router.c
lib/tnl-ports.c
lib/tnl-ports.h
tests/tunnel-push-pop.at