Skip to content

Instantly share code, notes, and snippets.

@mcgrew
Last active October 12, 2015 06:48
Show Gist options
  • Select an option

  • Save mcgrew/3987786 to your computer and use it in GitHub Desktop.

Select an option

Save mcgrew/3987786 to your computer and use it in GitHub Desktop.
Patch for the linux kernel to maintain compatibility with Symantec Remote Backup Agent (ralus)
diff --git a/net/core/dev.c b/net/core/dev.c
index e5942bf..c2461b1 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -5262,6 +5262,9 @@ int dev_ioctl(struct net *net, unsigned int cmd, void __user *arg)
* Not applicable in our case */
case SIOCSIFLINK:
return -ENOTTY;
+ /* For SYMANTEC BACKUP AGENT */
+ case SIOCGIFCOUNT:
+ return -EINVAL;
/*
* Unknown or private ioctl.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment