forked from Minki/linux
da4ed55165
The problem is that fib_info->nh is [0] so the struct fib_info
allocation size depends on number of nexthops. If we just copy fib_info,
we do not copy the nexthops info and driver accesses memory which is not
ours.
Given the fact that fib4 does not defer operations and therefore it does
not need copy, just pass the pointer down to drivers as it was done
before.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rocker_hw.h | ||
rocker_main.c | ||
rocker_ofdpa.c | ||
rocker_tlv.c | ||
rocker_tlv.h | ||
rocker.h |