summaryrefslogtreecommitdiffstats
path: root/net/sched/em_nbyte.c
diff options
context:
space:
mode:
authorRami Rosen2008-02-01 01:56:03 +0100
committerDavid S. Miller2008-02-01 04:28:25 +0100
commit52913246e0056c9c6215a778a3b31b6b9ce5c3ef (patch)
tree2540abf67d1bd59ab28a06487d424d3d658f6c95 /net/sched/em_nbyte.c
parent[VLAN]: set_rx_mode support for unicast address list (diff)
downloadkernel-qcow2-linux-52913246e0056c9c6215a778a3b31b6b9ce5c3ef.tar.gz
kernel-qcow2-linux-52913246e0056c9c6215a778a3b31b6b9ce5c3ef.tar.xz
kernel-qcow2-linux-52913246e0056c9c6215a778a3b31b6b9ce5c3ef.zip
[MACVLAN]: Setting macvlan_handle_frame_hook to NULL when rtnl_link_register() fails.
In drivers/net/macvlan.c, when rtnl_link_register() fails in macvlan_init_module(), there is no point to set it (second time in this method) to macvlan_handle_frame; macvlan_init_module() will return a negative number, so instead this patch sets macvlan_handle_frame_hook to NULL. Signed-off-by: Rami Rosen <ramirose@gmail.com> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/em_nbyte.c')
0 files changed, 0 insertions, 0 deletions