mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-16 16:21:53 +00:00
Added from brainslayer's patch here: https://svn.dd-wrt.com/changeset/56322 Signed-off-by: Sean Khan <datapronix@protonmail.com>
12 lines
350 B
Diff
12 lines
350 B
Diff
--- a/nss_virt_if.c
|
|
+++ b/nss_virt_if.c
|
|
@@ -450,6 +450,8 @@ EXPORT_SYMBOL(nss_virt_if_create_sync_ne
|
|
*/
|
|
struct nss_virt_if_handle *nss_virt_if_create_sync(struct net_device *netdev)
|
|
{
|
|
+ if (!nss_ctl_redirect)
|
|
+ return NULL;
|
|
/*
|
|
* NSS_N2H_INTERFACE is the nexthop of the dynamic interface which is created for handling the
|
|
* n2h traffic.
|