mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.1 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/linux24/95-inet-for-userspace.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. The in.h file need protection for some defines where the types are not known
  23. to the user-space and pkt_sched.h missed the inclusion of the types.h
  24. header which types it utilizes ...
  25. - Rene Rebe <rene@rocklinux.org>
  26. --- ./include/linux/in.h.orig 2003-08-28 22:11:50.000000000 +0200
  27. +++ ./include/linux/in.h 2003-08-28 22:12:27.000000000 +0200
  28. @@ -135,6 +135,8 @@
  29. (sizeof(struct ip_msfilter) - sizeof(__u32) \
  30. + (numsrc) * sizeof(__u32))
  31. +#ifdef __KERNEL__
  32. +
  33. struct group_req
  34. {
  35. __u32 gr_interface; /* interface index */
  36. @@ -161,6 +163,8 @@
  37. (sizeof(struct group_filter) - sizeof(struct sockaddr_storage) \
  38. + (numsrc) * sizeof(struct sockaddr_storage))
  39. +#endif
  40. +
  41. struct in_pktinfo
  42. {
  43. int ipi_ifindex;
  44. --- ./include/linux/pkt_sched.h.orig 2003-08-28 22:20:44.000000000 +0200
  45. +++ ./include/linux/pkt_sched.h 2003-08-28 22:21:11.000000000 +0200
  46. @@ -1,6 +1,8 @@
  47. #ifndef __LINUX_PKT_SCHED_H
  48. #define __LINUX_PKT_SCHED_H
  49. +#include <linux/types.h>
  50. +
  51. /* Logical priority bands not depending on specific packet scheduler.
  52. Every scheduler will map them to real traffic classes, if it has
  53. no more precise mechanism to classify packets.