gtp: update for Linux > 4.1+, genlmsg_end return should be ignored
Signed-off-by: Andreas Schultz <aschultz@tpip.net> Signed-off-by: Pablo Neira Ayuso <pablo@soleta.eu>
This commit is contained in:
parent
090d6d1b89
commit
6bc7645c24
3
gtp.c
3
gtp.c
|
@ -1153,7 +1153,8 @@ gtp_genl_fill_info(struct sk_buff *skb, u32 snd_portid, u32 snd_seq,
|
||||||
nla_put_u16(skb, GTPA_FLOW, pctx->flow)))
|
nla_put_u16(skb, GTPA_FLOW, pctx->flow)))
|
||||||
goto nla_put_failure;
|
goto nla_put_failure;
|
||||||
|
|
||||||
return genlmsg_end(skb, genlh);
|
genlmsg_end(skb, genlh);
|
||||||
|
return 0;
|
||||||
|
|
||||||
nlmsg_failure:
|
nlmsg_failure:
|
||||||
nla_put_failure:
|
nla_put_failure:
|
||||||
|
|
Loading…
Reference in New Issue