learning-switch: Refactor wildcards calculation.
authorBen Pfaff <blp@nicira.com>
Thu, 15 Jul 2010 23:20:37 +0000 (16:20 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 16 Jul 2010 19:04:11 +0000 (12:04 -0700)
commit52f4c6fa0d9170ccde68b71910be7fc825ba447d
tree9dc84d4d3af87cb5d436fa585dc7bf432cb8fdc1
parent5a003f6067d6a1f06841e5d1567b942af98b5fcc
learning-switch: Refactor wildcards calculation.

There's no need to calculate the wildcards to use for each flow, since it
is a constant across every flow.  In my opinion this also makes
process_packet_in() a little easier to understand, since it deletes a few
lines of code from a relatively complicated function.
lib/learning-switch.c