Skip to contentSkip to conversation

IPv6: Removing unnecessary NULL checks patch causes crash.

DISCUSSION Matti Vaittinen 1 participant 1 message Nov 16, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Signature · 6 lines
Matti Vaittinen
+358 504863070
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Told a UDP joke the other night...
...but I'm not sure everyone got it...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~