ofproto-dpif: Fix null pointer dereference in is_admissible().
authorBen Pfaff <blp@nicira.com>
Tue, 17 May 2011 20:41:32 +0000 (13:41 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 17 May 2011 20:41:32 +0000 (13:41 -0700)
commit23adee4206a98975750a076f9298541868c7c504
treeb47e81d35a1baf3687017e4daeab356162b47f6b
parent3476e0baaaddb7a25237297d1811a28ba11c21e6
ofproto-dpif: Fix null pointer dereference in is_admissible().

If in_port is NULL then we must not dereference it.
ofproto/ofproto-dpif.c