tipc: potential divide by zero in tipc_link_recv_fragment()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 6 May 2013 09:31:17 +0000 (09:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 May 2013 20:16:52 +0000 (16:16 -0400)
commit6bf15191f666c5965d212561d7a5c7b78b808dfa
treef8181fc3a6d91819c5da72989b185e4a7f78905f
parentcb4b102f0ab29fcbaf945c6b1f85ef006cdb8edc
tipc: potential divide by zero in tipc_link_recv_fragment()

The worry here is that fragm_sz could be zero since it comes from
skb->data.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c