# Re: \[PATCH net-next\] gre/ipip: use be16 variants of netlink functions

- From: David Miller \<davem@davemloft.net\>
- Date: 2015-02-09 00:29:00 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/02/10977690
- Thread: https://ratatoskr.run/netdev/2015/02/10977592/t.md

```text
From: Sabrina Dubroca <sd@queasysnail.net>
Date: Fri,  6 Feb 2015 17:22:22 +0100

> encap.sport and encap.dport are __be16, use nla_{get,put}_be16 instead
> of nla_{get,put}_u16.
> 
> Fixes the sparse warnings:
 ...
> Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>

Applied.
```
