File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434# <https://www.gnu.org/licenses/>.
3535
3636KDIR ?= /lib/modules/` uname -r ` /build
37- INSTALL_MOD_PATH ?= /lib/modules/ ` uname -r ` / extra
37+ INSTALL_MOD_DIR ?= extra
3838
3939NAT20SW_NAT20LIB_DIR ?= $(PWD ) /../nat20lib
4040NAT20SW_NAT20DEVICE_DIR ?= $(PWD ) /../nat20device
@@ -46,7 +46,7 @@ modules:
4646 $(MAKE ) -C $(KDIR ) NAT20SW_NAT20LIB_DIR=$(NAT20SW_NAT20LIB_DIR ) NAT20SW_NAT20DEVICE_DIR=$(NAT20SW_NAT20DEVICE_DIR ) NAT20SW_NAT20CRYPTO_DIR=$(NAT20SW_NAT20CRYPTO_DIR ) M=$$ PWD
4747
4848modules_install :
49- $(MAKE ) -C $(KDIR ) INSTALL_MOD_PATH =$(INSTALL_MOD_PATH ) M=$$ PWD modules_install
49+ $(MAKE ) -C $(KDIR ) INSTALL_MOD_DIR =$(INSTALL_MOD_DIR ) M=$$ PWD modules_install
5050
5151clean :
5252 $(MAKE ) -C $(KDIR ) M=$$ PWD clean
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ static int nat20sw_service_message_dispatch(void* ctx,
289289
290290 /* Use a heuristic to estimate the initial response buffer size. */
291291 /* Heuristic: request size + overhead for CBOR encoding and response metadata */
292- response -> size = request_size + 384 ;
292+ response -> size = request_size + 450 ;
293293 response -> data = kzalloc (response -> size , GFP_KERNEL );
294294 if (response -> data == NULL ) {
295295 return - ENOMEM ;
You can’t perform that action at this time.
0 commit comments