[PATCH 6.6 158/222] netrom: check buffer length before accessing it