Repository navigation
Commit 384d91c
vxlan: check return value of gro_cells_init()
gro_cells_init() returns error if memory allocation is failed.
But the vxlan module doesn't check the return value of gro_cells_init().
Fixes: 58ce31c ("vxlan: GRO support at tunnel layer")`
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent dd2af10 commit 384d91c
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2779 | 2779 | | |
2780 | 2780 | | |
2781 | 2781 | | |
| 2782 | + | |
| 2783 | + | |
| 2784 | + | |
2782 | 2785 | | |
2783 | 2786 | | |
2784 | 2787 | | |
2785 | 2788 | | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
| 2792 | + | |
| 2793 | + | |
| 2794 | + | |
2786 | 2795 | | |
2787 | 2796 | | |
2788 | 2797 | | |
| |||
3043 | 3052 | | |
3044 | 3053 | | |
3045 | 3054 | | |
3046 | | - | |
3047 | | - | |
3048 | 3055 | | |
3049 | 3056 | | |
3050 | 3057 | | |
| |||
0 commit comments