Project

General

Profile

Bug #3216

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

Added by laforge over 1 year ago. Updated over 1 year 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.

History

#1 Updated by laforge over 1 year 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...

#2 Updated by laforge over 1 year 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.

#3 Updated by laforge over 1 year ago

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

patch merged

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)