IPv6: Removing unnecessary NULL checks patch causes crash.
From: Matti Vaittinen <hidden>
Date: 2011-11-16 09:40:43
I left my box to run some test scripts last night with net-next tree where patch IPv6: Removing unnecessary NULL checks was applied. Crash had occurred when script executed "ip route change xxx/128 dev eth0" with non existing target twice in a row. (non existing target == there was no previous route to be changed) This was not occuring with kernel where only IPv6 routing, NLM_F_* flag support: REPLACE and EXCL flags support, warn about missing CREATE flag and IPv6 routing, NLM_F_* flag support: warn if new route is created without NLM_F_CREATE were applied. Anyways, I cannot think how info struct could be NULL, so I am a bit puzzled. Looks like I am missing some piece here. Anyways, somewhere in these patches is lurking a bug. I try to find the reason. Sorry for the trouble. --Matti -- Matti Vaittinen +358 504863070 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Told a UDP joke the other night... ...but I'm not sure everyone got it... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~