xdp: sample: Missing curly braces in read_route()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Nov 2017 06:12:03 +0000 (09:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 13:00:13 +0000 (22:00 +0900)
commitfae45363ae4bac980b1d7451233c7bf3d66d9300
tree5cd6e8af675cee67e450029ef8fe5199ff4f782a
parent4e6759be28e4e69c397ab58c1e780b0a15d8a6fd
xdp: sample: Missing curly braces in read_route()

The assert statement is supposed to be part of the else branch but the
curly braces were accidentally left off.

Fixes: 3e29cd0e6563 ("xdp: Sample xdp program implementing ip forward")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/xdp_router_ipv4_user.c