Project

General

Profile

Actions

Bug #3216

closed

netlink: 'osmo-ggsn': attribute type 1 has an invalid length.

Added by laforge almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
04/25/2018
Due date:
% Done:

100%

Spec Reference:

Description

On linux 4.16.4 I'm getting:

11330060016.695533] netlink: 'osmo-ggsn': attribute type 1 has an invalid length.

while starting osmo-ggsn.

Actions #1

Updated by laforge almost 6 years ago

  • Status changed from New to Stalled
  • % Done changed from 0 to 10

this appears to happen during netdev_addaddr6() and type '1' is IFA_ADDRESS whose size we're setting to sizeof(in6_addr). This seems correct, so I'm a bit confused...

Actions #2

Updated by laforge almost 6 years ago

  • Project changed from OsmoGGSN (former OpenGGSN) to Linux Kernel GTP-U
  • Status changed from Stalled to In Progress
  • % Done changed from 10 to 80

This is actually in libgtpnl, we were encoding CTRL_ATTR_FAMILY_ID as 32bit, but it's 16bit.

https://gerrit.osmocom.org/7939 contains the proposed fix.

Actions #3

Updated by laforge almost 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100

patch merged

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)