Repository navigation
Commit d12af67
sysctl: fix neighbour table sysctls.
- In ipv6 ndisc_ifinfo_syctl_change so it doesn't depend on binary
sysctl names for a function that works with proc.
- In neighbour.c reorder the table to put the possibly unused entries
at the end so we can remove them by terminating the table early.
- In neighbour.c kill the entries with questionable binary sysctl
handling behavior.
- In neighbour.c if we don't have a strategy routine remove the
binary path. So we don't the default sysctl strategy routine
on data that is not ready for it.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alexey Dobriyan <adobriyan@sw.ru>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent f5ead5c commit d12af67
2 files changed
Lines changed: 49 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2496 | 2496 | | |
2497 | 2497 | | |
2498 | 2498 | | |
2499 | | - | |
2500 | 2499 | | |
2501 | 2500 | | |
2502 | 2501 | | |
| |||
2541 | 2540 | | |
2542 | 2541 | | |
2543 | 2542 | | |
2544 | | - | |
2545 | 2543 | | |
2546 | 2544 | | |
2547 | 2545 | | |
2548 | 2546 | | |
2549 | 2547 | | |
2550 | 2548 | | |
2551 | | - | |
2552 | 2549 | | |
2553 | 2550 | | |
2554 | 2551 | | |
2555 | 2552 | | |
2556 | 2553 | | |
2557 | 2554 | | |
2558 | | - | |
2559 | 2555 | | |
2560 | 2556 | | |
2561 | 2557 | | |
2562 | 2558 | | |
2563 | 2559 | | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
2564 | 2576 | | |
2565 | 2577 | | |
2566 | 2578 | | |
| |||
2590 | 2602 | | |
2591 | 2603 | | |
2592 | 2604 | | |
2593 | | - | |
2594 | | - | |
2595 | | - | |
2596 | | - | |
2597 | | - | |
2598 | | - | |
2599 | | - | |
2600 | | - | |
2601 | | - | |
2602 | | - | |
2603 | | - | |
2604 | | - | |
2605 | | - | |
2606 | | - | |
2607 | | - | |
2608 | | - | |
| 2605 | + | |
2609 | 2606 | | |
2610 | 2607 | | |
2611 | 2608 | | |
| |||
2658 | 2655 | | |
2659 | 2656 | | |
2660 | 2657 | | |
| 2658 | + | |
| 2659 | + | |
2661 | 2660 | | |
2662 | 2661 | | |
2663 | 2662 | | |
2664 | 2663 | | |
2665 | | - | |
2666 | | - | |
2667 | | - | |
2668 | | - | |
| 2664 | + | |
| 2665 | + | |
2669 | 2666 | | |
2670 | 2667 | | |
2671 | | - | |
2672 | | - | |
2673 | | - | |
2674 | | - | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
2675 | 2672 | | |
2676 | 2673 | | |
2677 | | - | |
2678 | | - | |
2679 | 2674 | | |
2680 | 2675 | | |
2681 | 2676 | | |
2682 | 2677 | | |
2683 | 2678 | | |
2684 | 2679 | | |
| 2680 | + | |
| 2681 | + | |
2685 | 2682 | | |
2686 | 2683 | | |
2687 | 2684 | | |
2688 | 2685 | | |
| 2686 | + | |
| 2687 | + | |
2689 | 2688 | | |
2690 | | - | |
2691 | | - | |
2692 | | - | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
2693 | 2694 | | |
2694 | | - | |
2695 | | - | |
2696 | | - | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
2697 | 2700 | | |
2698 | 2701 | | |
2699 | 2702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1658 | 1658 | | |
1659 | 1659 | | |
1660 | 1660 | | |
1661 | | - | |
1662 | | - | |
| 1661 | + | |
| 1662 | + | |
1663 | 1663 | | |
1664 | 1664 | | |
1665 | | - | |
1666 | | - | |
| 1665 | + | |
1667 | 1666 | | |
1668 | | - | |
1669 | | - | |
| 1667 | + | |
| 1668 | + | |
1670 | 1669 | | |
1671 | 1670 | | |
1672 | | - | |
1673 | | - | |
1674 | | - | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
1675 | 1674 | | |
1676 | 1675 | | |
1677 | | - | |
1678 | | - | |
| 1676 | + | |
1679 | 1677 | | |
1680 | | - | |
1681 | 1678 | | |
1682 | 1679 | | |
1683 | | - | |
1684 | | - | |
| 1680 | + | |
1685 | 1681 | | |
1686 | 1682 | | |
1687 | 1683 | | |
| |||
0 commit comments