Don't oops in dp_output_control() for skbs with null ->dev.
authorBen Pfaff <blp@nicira.com>
Tue, 11 Nov 2008 02:26:25 +0000 (18:26 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 13 Nov 2008 20:44:04 +0000 (12:44 -0800)
commit42841a1a873741d90db9892d7cf94147465081ef
treec51c78a2ef9f6d5056cfbd662314a2a7a9249bae
parentae0af9b03d7f20e318a0b9e9846a74137104d8cf
Don't oops in dp_output_control() for skbs with null ->dev.

This shouldn't ordinarily happen, since normal packets are received from
a real device, but some packets can be spontaneously generated within
the switch and thus have null ->dev.  (Possibly that is itself a bug
that we should track down; not sure.)
datapath/datapath.c