netdev: Allow get_ifindex and get_features to be null.
authorJesse Gross <jesse@nicira.com>
Sun, 11 Apr 2010 13:37:19 +0000 (09:37 -0400)
committerJesse Gross <jesse@nicira.com>
Mon, 19 Apr 2010 13:11:57 +0000 (09:11 -0400)
commit4c0f178060b740faac9a5aec915a24dc3b61770c
tree2564d14afa04b3a986dcc469c535ffa1987d0feb
parent658797c83a9b656493c8911026f12a5397cbd5ba
netdev: Allow get_ifindex and get_features to be null.

Allow netdev providers to set get_ifindex and get_features it
null if they would always return EOPNOTSUPP.  This is particuarly
useful for virtual devices.
lib/netdev-provider.h
lib/netdev.c