]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel-atm-vbr.patch
- 5.4.265
[packages/kernel.git] / kernel-atm-vbr.patch
index 1e57d7f6e7ccd998868242393443082eb70bff6f..1bd2a4c5577350cecd83c7ec965995599f1a6d60 100644 (file)
@@ -3,8 +3,8 @@ Index: linux/include/linux/atm.h
 RCS file: /afs/cmf/project/cvsroot/linux/include/linux/atm.h,v
 retrieving revision 1.2
 diff -u -r1.2 atm.h
---- linux/include/linux/atm.h  12 Feb 2003 20:56:33 -0000      1.2
-+++ linux/include/linux/atm.h  9 Apr 2003 12:08:38 -0000
+--- linux/include/uapi/linux/atm.h     12 Feb 2003 20:56:33 -0000      1.2
++++ linux/include/uapi/linux/atm.h     9 Apr 2003 12:08:38 -0000
 @@ -72,7 +72,7 @@
                            /* connection identifier range; socket must be
                               bound or connected */
@@ -40,7 +40,7 @@ diff -u -r1.2 atm.h
          unsigned int  icr;            /* Initial Cell Rate (24-bit) */
          unsigned int  tbe;            /* Transient Buffer Exposure (24-bit) */ 
 @@ -243,4 +251,37 @@
- };
  
  typedef unsigned short atm_backend_t;
 +struct atm_trafprm_compat {
@@ -76,7 +76,7 @@ diff -u -r1.2 atm.h
 +
 +#define SO_ATMQOS_COMPAT __SO_ENCODE(SOL_ATM,2,struct atm_qos_compat)
 +                          /* Quality of Service setting (no vbr support) */
- #endif
+ #endif /* _UAPI_LINUX_ATM_H */
 Index: linux/net/atm/common.c
 ===================================================================
 RCS file: /afs/cmf/project/cvsroot/linux/net/atm/common.c,v
@@ -158,5 +158,5 @@ diff -u -r1.13 common.c
 +                                  -EFAULT : 0;
 +                      }
        case SO_ATMQOS:
-               if (!test_bit(ATM_VF_HASQOS,&vcc->flags))
+               if (!test_bit(ATM_VF_HASQOS, &vcc->flags))
                        return -EINVAL;
This page took 0.059854 seconds and 4 git commands to generate.