Almost impossible to happen, but if it does, just report nothing.
MFC after: 3 days
Differential D56965
rtnetlink: Check for allocation failure in _nl_store_ifp_cookie() Authored by pouria on Tue, May 12, 12:40 PM. Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions Hmm, if we think it's impossible, then probably it's better to just assume nla_cookie != NULL rather than silently doing nothing? Otherwise we should probably report the error back to create_link(), no? Comment Actions It's absolutely safe to assume nla_cookie != NULL. |