On 07/21/2014 12:47 AM, Martin Townsend wrote:
> Signed-off-by: Martin Townsend<mtownsend1...@gmail.com>
> ---
>    net/ieee802154/reassembly.c | 13 +++----------
>    1 file changed, 3 insertions(+), 10 deletions(-)
>
> diff --git a/net/ieee802154/reassembly.c b/net/ieee802154/reassembly.c
> index b85bd3f..e24ef5d 100644
> --- a/net/ieee802154/reassembly.c
> +++ b/net/ieee802154/reassembly.c
> @@ -370,8 +370,10 @@ int lowpan_frag_rcv(struct sk_buff *skb, const u8 
> frag_type)
>       if (err < 0)
>               goto err;
>    
> -     if (frag_info->d_size > ieee802154_lowpan->max_dsize)
> +     if (frag_info->d_size > IPV6_MIN_MTU) {
> +             netdev_warn(skb->dev, "datagram size exceeds IPv6 Min MTU");
>    

Missed terminating newline ('\n')....  :-)

-- 
Regards,
Varka Bhadram.


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to