netdev: Assert that the type of a new network device is correct.
authorBen Pfaff <blp@nicira.com>
Thu, 4 Nov 2010 00:00:57 +0000 (17:00 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 4 Nov 2010 20:47:26 +0000 (13:47 -0700)
commita8f86734614d584ff72ffe34938bb3e9cf05394c
tree544eb1c72b84d21e715134b7957ece9f5c76bbb2
parent59348dba2c4c8cc43a70b1c0265e536ef177c1ab
netdev: Assert that the type of a new network device is correct.

This would have found a bug that I accidentally inserted while working on
netdev-linux.
lib/netdev.c