Last active
October 12, 2015 06:48
-
-
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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